<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Flash Speaks Actionscript &#187; Tutorials</title>
	<atom:link href="http://flashspeaksactionscript.com/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://flashspeaksactionscript.com</link>
	<description>Learn and Speak Actionscript</description>
	<lastBuildDate>Sat, 10 Mar 2012 02:45:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Update: Creating a Mini Music Player in AS3</title>
		<link>http://flashspeaksactionscript.com/update-create-mini-music-player-in-as3/</link>
		<comments>http://flashspeaksactionscript.com/update-create-mini-music-player-in-as3/#comments</comments>
		<pubDate>Wed, 16 Feb 2011 13:00:10 +0000</pubDate>
		<dc:creator>Angel Romero</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Flash Component]]></category>
		<category><![CDATA[freebie]]></category>

		<guid isPermaLink="false">http://flashspeaksactionscript.com/?p=4615</guid>
		<description><![CDATA[Once again the popularity of an earlier post has caused he to revisit that topic and improve upon a post that had been written over two years ago. The post that I am referring to is on the topic of creating a mini music player in AS3. Simple music players still have a place on the web and I’ve taken the liberty of re-creating an easy to use MP3 player built in AS3.]]></description>
			<content:encoded><![CDATA[<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fflashspeaksactionscript.com%252Fupdate-create-mini-music-player-in-as3%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2FnFkN7A%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Update%3A%20Creating%20a%20Mini%20Music%20Player%20in%20AS3%20%23Flash%20Component%20%23freebie%22%20%7D);"></div>
<p>Once again the <a title="Create a Mini Music Player in AS3" href="http://flashspeaksactionscript.com/create-a-mini-music-player-in-as3/" target="_self">popularity of an earlier post</a> has caused me to revisit a topic and improve upon a post that had been written over two years ago. The post that I am referring to is on the topic of <a title="Creating a Mini Music Player in AS3" href="http://flashspeaksactionscript.com/create-a-mini-music-player-in-as3/" target="_self">creating a mini music player in AS3</a>. Simple music players still have a place on the web and I’ve taken the liberty of re-creating an easy to use MP3 player built in AS3.</p>
<h2>Introducing the Mini MP3 Player</h2>
<p>While creating this MP3 player, I took much of the feedback from its previous implementation into consideration. Based on your feedback, I’ve decided to include the following features into this release.</p>
<h2>Features:</h2>
<ul>
<li>Easily load a new sound into the player at any given time</li>
<li>Autoplay supported (defaults to false)</li>
<li>Looping supported (defaults to false)</li>
<li>Fast forward and rewind the loaded sound</li>
<li>Control the volume with supplied volume scrubber</li>
<li>Extends CASALib’s CasaMovieClip giving you features like <strong>destroy()</strong></li>
<li>Fresh UI designed by <a title="Be Designful" href="http://bedesignful.com/" target="_blank">Ryan Butz</a> that can easily be customized</li>
</ul>
<h2>Implementing the Mini MP3 Player</h2>
<p>I have updated the initial post to include how to <a title="Create a Mini Music Player in AS3" href="http://flashspeaksactionscript.com/create-a-mini-music-player-in-as3/" target="_self">implement this MP3 player</a> into your Flash projects. Since I know everyone’s version of Flash might not be the same, I’ve taken the liberty of providing legacy versions of the FLA for Flash CS3 and CS4.</p>
<h3><a title="Download" href="http://dl.dropbox.com/u/272056/Downloads/MiniMp3Player.zip">Download</a></h3>
<h2>Preview</h2>
<p><a title="Mini MP3 Player Preview" href="http://dl.dropbox.com/u/272056/Previews/MiniMp3Player/index.html" target="_blank"><img class="alignnone" title="Mini MP3 Player Preview" src="http://flashspeaksactionscript.com/wp-content/uploads/2008/04/mini-mp3-player-preview.png" alt="Mini MP3 Player Preview" width="500" height="204" /></a></p>
<h2>Feedback</h2>
<p>As you integrate this into your projects, I’d love to hear our feedback. However, like always, let’s keep it constructive.</p>
<h2>Credits</h2>
<p>The provided audio loop is a part of the Teru’s Keys Loop freebie pack.  Like it?  <a title="Teru’s Keys Loop Pack" href="http://audio.tutsplus.com/freebies/loops/terus-keys-loop-pack/" target="_blank">Download the whole pack</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://flashspeaksactionscript.com/update-create-mini-music-player-in-as3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CASA LIb’s FrameUtil: Extending the Functionality of the Flash Timeline</title>
		<link>http://flashspeaksactionscript.com/frameutil-extending-timeline-functionality/</link>
		<comments>http://flashspeaksactionscript.com/frameutil-extending-timeline-functionality/#comments</comments>
		<pubDate>Wed, 17 Nov 2010 04:00:28 +0000</pubDate>
		<dc:creator>Angel Romero</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[CASA Lib]]></category>
		<category><![CDATA[Timeline]]></category>
		<category><![CDATA[Utility]]></category>

		<guid isPermaLink="false">http://flashspeaksactionscript.com/?p=4497</guid>
		<description><![CDATA[While the days of timeline manipulation within Flash are very far and few in between, it still provides useful functionality for timeline specific projects.  CASA Lib’s FrameUtil looks to improve how you can interact with the Flash timeline by providing some useful utilities that open up the possibilities of dynamic script integration via runtime.  

With the next addition of the CASA Lib series, I introduce to you FrameUtil.]]></description>
			<content:encoded><![CDATA[<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fflashspeaksactionscript.com%252Fframeutil-extending-timeline-functionality%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22CASA%20LIb%E2%80%99s%20FrameUtil%3A%20Extending%20the%20Functionality%20of%20the%20Flash%20Timeline%20%23AS3%20%23CASA%20Lib%20%23Timeline%20%23Utility%22%20%7D);"></div>
<p>While the days of timeline manipulation within Flash are very far and few in between, it still provides useful functionality for timeline specific projects.  CASA Lib’s FrameUtil looks to improve how you can interact with the Flash timeline by providing some useful utilities that open up the possibilities of dynamic script integration via runtime.</p>
<p>With the next addition of the <a title="A Very Useful and Flexible Utility Library" href="http://flashspeaksactionscript.com/casa-lib-a-very-useful-and-flexible-utility-library/" target="_self">CASA Lib series</a>, I introduce to you FrameUtil.</p>
<h2>CASALib’s FrameUtil</h2>
<p>FrameUtil helps determine the frame number for label positions along with the ability to add and remove frame scripts.</p>
<h3>Features Include:</h3>
<ul>
<li>Determining the frame number of a specific label</li>
<li>Adding script to a specific frame</li>
<li>Removing  script from a specific frame</li>
</ul>
<h2>Demonstrating the FrameUtil</h2>
<p><a href="http://dl.dropbox.com/u/272056/Previews/FrameUtilDemo.swf"><img class="size-full wp-image-4498 alignnone" title="CASA Lib's FrameUtil Demo" src="http://flashspeaksactionscript.com/wp-content/uploads/2010/11/casa-lib-frameutil-demo.png" alt="CASA Lib's FrameUtil Demo" width="500" height="200" /></a></p>
<p>I took the liberty of creating a Flash example demonstrating adding frame scripts via runtime using CASA Lib&#8217;s FrameUtil.</p>
<p>[button style="download" link="http://dl.dropbox.com/u/272056/Downloads/FlashSpeaks/CasaLibFrameUtilDemo.zip" color="silver"]Download[/button]</p>
<h2>Summary</h2>
<p>When used correctly, this can be a very helpful utility as it extends the functionality and possibilities of the Flash timeline.  If you find yourself in Flash timeline, don’t forget to bring CASA Lib’s FrameUtil along. <img src='http://flashspeaksactionscript.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://flashspeaksactionscript.com/frameutil-extending-timeline-functionality/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CASA Lib&#8217;s ArrayUtil: Sorting, Searching and Manipulation of Arrays Made Easy</title>
		<link>http://flashspeaksactionscript.com/casa-lib-arrayutil-sorting-searching-arrays/</link>
		<comments>http://flashspeaksactionscript.com/casa-lib-arrayutil-sorting-searching-arrays/#comments</comments>
		<pubDate>Fri, 29 Oct 2010 03:55:10 +0000</pubDate>
		<dc:creator>Angel Romero</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[CASA Lib]]></category>
		<category><![CDATA[Series]]></category>
		<category><![CDATA[Utility]]></category>

		<guid isPermaLink="false">http://flashspeaksactionscript.com/?p=4449</guid>
		<description><![CDATA[Arrays provide quite a bit of flexibility and functionality when developing in ActionScript 3.0. Having a utility readily available that will allow you sort, search, and manipulate Arrays will save countless hours of coding; along with a lighter script file. This leads me to the next addition of the CASA Lib series post as I breakdown the ArrayUtil.]]></description>
			<content:encoded><![CDATA[<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fflashspeaksactionscript.com%252Fcasa-lib-arrayutil-sorting-searching-arrays%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22CASA%20Lib%27s%20ArrayUtil%3A%20Sorting%2C%20Searching%20and%20Manipulation%20of%20Arrays%20Made%20Easy%20%23AS3%20%23CASA%20Lib%20%23Series%20%23Utility%22%20%7D);"></div>
<p>Arrays provide quite a bit of flexibility and functionality when developing in ActionScript 3.0. Having a utility readily available that will allow you sort, search, and manipulate Arrays will save countless hours of coding; along with a lighter script file. This leads me to the next addition of the <a title="CASA Lib: A Very Useful and Flexible Utility Library" href="http://flashspeaksactionscript.com/casa-lib-a-very-useful-and-flexible-utility-library/" target="_self">CASA Lib series post</a> as I breakdown the ArrayUtil.</p>
<p>The <strong>ArrayUtil</strong> is a very helpful utility for sorting, searching and manipulating Arrays. There are <strong>over 20 methods(functions)</strong> to this utility and each one provides a very helpful and common functionality. The examples below are very generic and derived from the <a title="Documentation on CASA Lib" href="http://as3.casalib.org/docs/" target="_blank">CASA Lib documentation</a>.</p>
<h2>Summary of the ArraryUtil Methods</h2>
<h3>Randomize the order of the items within an Array</h3>
<p>The function <strong>randomize() </strong>creates a new Array composed of passed Array&#8217;s items in a random order.</p>
<p><strong>Example:</strong></p>
<pre class="brush: as3; title: ; notranslate">var numberArray:Array=new Array(1,2,3,4,5,6,7,8,9,10);
 trace(ArrayUtil.randomize(numberArray));</pre>
<h3>Remove duplicates within an Array</h3>
<p>The function <strong>removeDuplicates()</strong> creates a new Array of only the non-identical items of passed Array.</p>
<p><strong>Example:</strong></p>
<pre class="brush: as3; title: ; notranslate">var numberArray:Array=new Array(1,2,3,4,5,4,7,2,9,9);
trace(ArrayUtil.removeDuplicates(numberArray));// Traces 1,3,4,5,7</pre>
<h3>Remove all instances of an item of an Array</h3>
<p>The function <strong>removeItem()</strong> removes all instances of a specific item of an Array. Also available, removeItems() which removes all of one Array from another Array.</p>
<p><strong>Example:</strong></p>
<pre class="brush: as3; title: ; notranslate">var numberArray:Array=new Array(1,9,3,4,9,7,2,9,9);
trace(&quot;Removed &quot; + ArrayUtil.removeItem(numberArray, 9) + &quot; items.&quot;);// Traces Removed 4 items
trace(numberArray);// Traces 1,3,4,7,2</pre>
<h3>Compare two Arrays to see if they are identical</h3>
<p>The function <strong>equals()</strong> determines if two Arrays contain the same items at the same index.</p>
<p><strong>Example:</strong></p>
<pre class="brush: as3; title: ; notranslate">var numberArray1:Array=new Array(1,9,3,4,9,7,2,9,9);
var numberArray2:Array=new Array(2,9,3,4,7);
trace(ArrayUtil.equals(numberArray1, numberArray2));// Traces false</pre>
<h3>Add items of one Array to another Array</h3>
<p>The function <strong>addItemsAt()</strong> modifies the original Array by adding all the items from another Array at a specific position.</p>
<p><strong>Example:</strong></p>
<pre class="brush: as3; title: ; notranslate">var alphabet:Array=new Array(&quot;a&quot;,&quot;d&quot;,&quot;e&quot;);
var parts:Array=new Array(&quot;b&quot;,&quot;c&quot;);

ArrayUtil.addItemsAt(alphabet, parts, 1);

trace(alphabet);// Traces a,b,c,d,e</pre>
<h3>Fetch a random item of an Array</h3>
<p>The function <strong>random()</strong> returns a random item of an Array.</p>
<p><strong>Example:</strong></p>
<pre class="brush: as3; title: ; notranslate">var numberArray:Array=new Array(1,2,3,4,5,6,7,8,9,10);
trace(ArrayUtil.random(numberArray));</pre>
<h3>Determine how many times an Array contains a specific item</h3>
<p>The function <strong>contains()</strong> finds out how many instances of an item an Array contains.</p>
<p><strong>Example:</strong></p>
<pre class="brush: as3; title: ; notranslate">var numberArray:Array=new Array(1,9,3,4,9,7,2,9,9);
trace(&quot;numberArray contains &quot; + ArrayUtil.contains(numberArray, 9) + &quot; 9's.&quot;); // Traces 3</pre>
<h3>Fetch an item within an Array of a specific data type</h3>
<p>The function <strong>getItemByType()</strong> returns the first item of an Array of a specific data type, class, or interface. Also available, <strong>getItemsByType()</strong> which returns all items that match.</p>
<p><strong>Example:</strong></p>
<pre class="brush: as3; title: ; notranslate">var numberArray:Array=new Array(1,&quot;a&quot;,3,&quot;b&quot;,5,&quot;c&quot;,7,8,9,10);
trace(ArrayUtil.getItemsByType(numberArray, String));// Traces a,b,c</pre>
<h3>Determine the average of the values within an Array</h3>
<p>The function <strong>average()</strong> returns the average of the values within an Array.</p>
<p><strong>Example:</strong></p>
<pre class="brush: as3; title: ; notranslate">var numberArray:Array=new Array(1,2,3,4,5,6,7,8,9,10);
trace(ArrayUtil.average(numberArray));// Traces 5.5</pre>
<h3>Fetch the highest/lowest value within and Array</h3>
<p>The function <strong>getHighestValue()</strong> finds the highest value of an Array. Also available, <strong>getLowestValue() </strong>which finds the lowest value of an Array.</p>
<p><strong>Example:</strong></p>
<pre class="brush: as3; title: ; notranslate">var numberArray:Array=new Array(1,2,20,4,5,6,7,8,9,10);
trace(ArrayUtil.getHighestValue(numberArray));// Traces 20
trace(ArrayUtil.getLowestValue(numberArray));// Traces 1</pre>
<h3>Sum up the values of an Array</h3>
<p>The function <strong>sum()</strong> adds all of the items of an Array and returns its value.</p>
<p><strong>Example:</strong></p>
<pre class="brush: as3; title: ; notranslate">var numberArray:Array=new Array(1,2,20,4,5,6,7,8,9,10);
trace(ArrayUtil.sum(numberArray));// Traces 72</pre>
<h3>Fetch an item of an Array by any key values</h3>
<p>The function <strong>getItemByAnyKey()</strong> the first item that matches the key values on an Object. Also available, getItemsByAnyKey() which returns every item that matches.</p>
<p><strong>Example:</strong></p>
<pre class="brush: as3; title: ; notranslate">var people:Array=new Array({name:&quot;Aaron&quot;,sex:&quot;Male&quot;,hair:&quot;Brown&quot;},{name:&quot;Linda&quot;,sex:&quot;Female&quot;,hair:&quot;Blonde&quot;},{name:&quot;Katie&quot;,sex:&quot;Female&quot;,hair:&quot;Brown&quot;},{name:&quot;Nikki&quot;,sex:&quot;Female&quot;,hair:&quot;Blonde&quot;});
var brownOrFemales:Array=ArrayUtil.getItemsByAnyKey(people,{sex:&quot;Female&quot;,hair:&quot;Brown&quot;});

for each (var p:Object in brownOrFemales) {
trace(p.name);// Traces Aaron, Linda, Katie, Nikki
}</pre>
<h3>Determine whether an Array contains all items of another Array</h3>
<p>The function <strong>containsAll()</strong> determines whether an Array contains all items of another Array. Also available, containsAny() which determines whether an Array contains any items of another Array.</p>
<p><strong>Example:</strong></p>
<pre class="brush: as3; title: ; notranslate">var numberArray:Array=new Array(1,2,3,4,5);
trace(ArrayUtil.containsAll(numberArray, new Array(1, 3, 5)));// Traces true</pre>
<h2>Summary</h2>
<p>As you can see, much of the functionality that this Array utility offers will have a positive impact to the complexity and size of your script while allowing you to focus more on the project at hand. The next post to <a title="CASA Lib: A Very Useful and Flexible Utility Library" href="http://flashspeaksactionscript.com/casa-lib-a-very-useful-and-flexible-utility-library/" target="_self">this series</a> will focus on the a utility, FrameUtil, used for determining label positions and adding and removing frame scripts from the timeline.</p>
]]></content:encoded>
			<wfw:commentRss>http://flashspeaksactionscript.com/casa-lib-arrayutil-sorting-searching-arrays/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How To: Implement an AS3 Library into Your Flash Environment</title>
		<link>http://flashspeaksactionscript.com/how-to-implement-an-as3-library-into-your-flash-environment/</link>
		<comments>http://flashspeaksactionscript.com/how-to-implement-an-as3-library-into-your-flash-environment/#comments</comments>
		<pubDate>Thu, 21 Oct 2010 04:04:40 +0000</pubDate>
		<dc:creator>Angel Romero</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[CASA Lib]]></category>

		<guid isPermaLink="false">http://flashspeaksactionscript.com/?p=4419</guid>
		<description><![CDATA[You’ve got the AS3 library of your interest downloaded, in this case, it will be CASA Lib. Now it is time to set up your Flash environment. What to do next? This tutorial is meant to walk you through on how to hook your Flash environment to a specific AS3 library.]]></description>
			<content:encoded><![CDATA[<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fflashspeaksactionscript.com%252Fhow-to-implement-an-as3-library-into-your-flash-environment%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2FoxYMFp%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22How%20To%3A%20Implement%20an%20AS3%20Library%20into%20Your%20Flash%20Environment%20%23AS3%20%23CASA%20Lib%22%20%7D);"></div>
<p>You’ve got the AS3 library of your interest downloaded, in this case, it will be <a href="http://flashspeaksactionscript.com/casa-lib-a-very-useful-and-flexible-utility-library/">CASA Lib</a>. Now it is time to set up your Flash environment. What to do next? This tutorial is meant to walk you through on how to hook your Flash environment to a specific AS3 library.</p>
<h2><strong>Type of AS3 Libraries</strong></h2>
<p>AS3 libraries can be found in two forms: <strong>ActionScript files(.as)</strong> or <strong>compiled clips(.swc)</strong>. In most cases, AS3 libraries you come across will be in a form of ActionScript class(s), but it is nice to know how to handle both types.</p>
<p><em><strong>Tip: </strong> As a good practice, it is helpful to have a consistent location where you can place third party and/or personal AS3 libraries. This way there is no guessing as to where they go.</em></p>
<p>Let’s go off the assumption that you have download the CASA Lib library and you have created a folder within your Documents directory called AS3Library. The rest of this tutorial will go off this assumption.</p>
<h2>Using a Flash Environment</h2>
<h3>Step 1: Create a new Flash document(.fla)</h3>
<p>Start off by creating a new Flash document file.</p>
<h3>Step 2: Access the ActionScript properties</h3>
<p>Access the ActionScript properties by selecting File -&gt; Publish Settings -&gt; Flash -&gt; Settings.</p>
<p><img title="actionscript-settings.png" src="http://flashspeaksactionscript.com/wp-content/uploads/2010/10/actionscript-settings.png" alt="ActionScript Settings" width="500" height="150" border="0" /></p>
<h3>Step 3: Determining the Type of the AS3 Library</h3>
<p>Once within the ActionScript Settings, you will notice you can define the your Document Class along with your pathing to the external AS3 source and/or libraries. Depending on whether your AS3 LIbrary is of source(.as) or library<a href="http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_30.html">(.swc)</a> form, the next tab you select will be different.</p>
<p><strong>AS3 Library Source(.as)</strong></p>
<p><img title="add-as3-library-source.png" src="http://flashspeaksactionscript.com/wp-content/uploads/2010/10/add-as3-library-source.png" alt="Add AS3 Library Source" width="500" height="150" border="0" /></p>
<p><strong>AS3 Library(.swc) </strong></p>
<p><img title="add-as3-library-swc.png" src="http://flashspeaksactionscript.com/wp-content/uploads/2010/10/add-as3-library-swc.png" alt="Add AS3 Library .swc" width="500" height="150" border="0" /></p>
<p><em><strong>Tip: </strong> As a good practice, if almost always best if you use relative positioning (versus absolute) when defining the path from the Flash document to the AS3 Library. This helps for portability of the project and when working in multiple platforms/environments.</em></p>
<h3>Step 4: Define the Path to AS3 LIbrary</h3>
<p>Since you know where your Flash document and AS3 Library is stored within your workspace, you can define where the AS3 Library is in relation to the Flash document. For example, I have added the working Flash document within the root level of a folder named <strong>AS3Sandbox</strong> within my Documents. In that case, my path to the library source will be <strong>“../AS3Library/”</strong>. If I where to point to the complied library instead it would have been <strong>“../AS3Library/libs/”</strong>. See below.</p>
<p><strong>Defining AS3 LIbrary Source Path</strong></p>
<p><img title="as3-library-source-select.png" src="http://flashspeaksactionscript.com/wp-content/uploads/2010/10/as3-library-source-select.png" alt="Select AS3 Library Source" width="500" height="150" border="0" /></p>
<p><strong>Defining AS3 Library Path</strong></p>
<p><img title="as3-library-swc-select.png" src="http://flashspeaksactionscript.com/wp-content/uploads/2010/10/as3-library-swc-select.png" alt="Select AS3 Library" width="500" height="150" border="0" /></p>
<h3>Summary</h3>
<p>Upon your selection, the Flash document is now able to access any and all of the AS3 libraries within the selected folder. As you download more AS3 libraries you can simply place them in this folder and you can instantly start to reference them within you Flash document. Now it’s time to get to the fun stuff like experimenting with your new toys.</p>
<p>If you have any questions, feel free to leave them within the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://flashspeaksactionscript.com/how-to-implement-an-as3-library-into-your-flash-environment/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Create A Flash Countdown Timer in AS3 Using A Class</title>
		<link>http://flashspeaksactionscript.com/flash-countdown-timer-in-as3-using-a-class/</link>
		<comments>http://flashspeaksactionscript.com/flash-countdown-timer-in-as3-using-a-class/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 14:00:23 +0000</pubDate>
		<dc:creator>Angel Romero</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[AS3 Class]]></category>
		<category><![CDATA[freebie]]></category>
		<category><![CDATA[Timer]]></category>

		<guid isPermaLink="false">http://flashspeaksactionscript.com/?p=3986</guid>
		<description><![CDATA[Due to the popularity of one of my earlier posts, I've decided to extend the topic with a helpful Countdown Timer class. This handy utility provides a flexible and easy way to tie in countdown timer functionality into just about any design. It is designed to handle the grunt work of developing a Countdown Timer.]]></description>
			<content:encoded><![CDATA[<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fflashspeaksactionscript.com%252Fflash-countdown-timer-in-as3-using-a-class%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Create%20A%20Flash%20Countdown%20Timer%20in%20AS3%20Using%20A%20Class%20%23AS3%20%23AS3%20Class%20%23freebie%20%23Timer%22%20%7D);"></div>
<p>Due to the popularity of one of my <a title="Flash Countdown Timer" href="http://flashspeaksactionscript.com/flash-countdown-timer/" target="_self">earlier posts</a>, I&#8217;ve decided to extend the topic with a helpful Countdown Timer class. This handy utility provides a flexible and easy way to tie in countdown timer functionality into just about any design. It is designed to handle the grunt work of developing a Countdown Timer. It is not meant to replace the <a title="Flash Countdown Timers" href="http://flashspeaksactionscript.com/flash-stock-of-the-day-flash-countdown-timers/" target="_self">Countdown Timers</a> available to the Flash community. It is purely meant to easily implement Countdown Timer functionality to you own custom design without reinventing the wheel.</p>
<p><strong>Features Include:</strong></p>
<ul>
<li>Easily define a new Countdown Timer instance</li>
<li>Access to the countdown&#8217;s remaining days, hours, minutes and seconds</li>
<li>Easily update the target end date</li>
<li>Custom events that trigger upon Countdown updating and on complete</li>
</ul>
<h2>Getting started creating a fresh Countdown Timer</h2>
<p>Implementing your new countdown timer design will require minimal ActionScript as the this utility will handle key events and updating of the remaining time.  All you need to implement this countdown functionality is a design and some time.  Enjoy!</p>
<h2>Step 1: Importing the necessary classes</h2>
<p>In order to use this utility within your Flash file, you would need to import the following two classes: <strong>CountdownTimer.as</strong> and <strong>CountdownEvent.as</strong>.<em> <strong>Note:</strong> Make sure that the classes are local to your .fla file or if you are more comfortable modifying your ActionScript settings to accommodate the location of the classes, feel free doing so.</em></p>
<pre class="brush: as3; title: ; notranslate">// Importing of the CountdownTimer Class
import com.flashspeaks.utils.CountdownTimer;
// Importing the CountdownEvent (used to update and notify upon countdown completion)
import com.flashspeaks.utils.CountdownEvent;</pre>
<h2>Step 2: Creating a new Countdown Timer Instance</h2>
<p>Creating a new instance of the Countdown Timer is as easy as defining a new Countdown Timer instance and providing the target end date within the parameter. The only value needed is a target <strong><a title="AS3 Date Object" href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Date.html" target="_blank">D</a><a title="AS3 Date Object" href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Date.html" target="_blank">ate()</a> </strong>object.</p>
<pre class="brush: as3; title: ; notranslate">
// This creates a new CountdownTimer instance and sets it target end date
var targetDate:Date = new Date(2011, 11, 25);
var myCountdown:CountdownTimer = new CountdownTimer(targetDate);</pre>
<h2>Step 3: Retrieve the remaining days, hours, minutes, and seconds</h2>
<p>In order to provide flexibility, I have provided public properties to obtain the <strong>days, hours, minutes,</strong> and <strong>seconds</strong> remaining separately allowing you to determine how you would like to display the remaining time. There is also a property called <strong>time</strong> that will return the remaining time as a whole number separated by colons. (00:00:00:00)</p>
<p>In order to retrieve the time, a new <strong>COUNTDOWN_UPDATE</strong> event listener needs to be established as it will be mapped to a function that will update upon every tick. It can be easily done like so.</p>
<pre class="brush: as3; title: ; notranslate">myCountdown.addEventListener(CountdownEvent.COUNTDOWN_UPDATE, onCountdownUpdate, false, 0, true);

function onCountdownUpdate(e:CountdownEvent):void {
 // Update on screen visuals like text
}</pre>
<h2>Countdown has expired&#8230;what to do?</h2>
<p>One of the requested key features was a way to easily determine when the countdown had expired. Some wanted to load a new timer, change on screen text to read <strong>00:00:00:00</strong> ,etc. Setting this up using CountdownTimer is fairly easy. To do so, you would essentially create a new <strong>COUNTDOWN_COMPLETE</strong> event listener and supplying what it is that you would like to occur within the event handler function. Check it out below!</p>
<pre class="brush: as3; title: ; notranslate">countdown.addEventListener(CountdownEvent.COUNTDOWN_COMPLETE, onCountdownComplete, false, 0, true);
function onCountdownComplete(e:CountdownEvent):void {
 // Countdown finished...
 // HAPPY NEW YEAR
}</pre>
<h2>Change the target end date on the fly</h2>
<p>Another huge request was to provide a solution to easily update the target end date via run-time. CountdownTimer provides a function called <strong>updateEndDate(new Date()) </strong>which allows you to simply provide a new target end date through its parameter. Your on screen visuals will automatically update to accommodate the new end date.</p>
<p>For example, let&#8217;s say you wanted to add a month to the target end date every time that it has expired you can to so by simply adding one month to current month within the <strong>onCountdownComplete</strong> event handler.</p>
<h2>Complimentary Flash Countdown Timer design</h2>
<p>What&#8217;s good Countdown Timer functionality without a good Countdown Timer design? Here&#8217;s a complimentary design that I will be providing with the download. It includes the example source and provides all of the source from this tutorial. Feel free to implement your own design! I&#8217;d love to see them!</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_FlashCountdownTimer_2113776028"
			class="flashmovie"
			width="520"
			height="340">
	<param name="movie" value="http://flashspeaksactionscript.com/wp-content/uploads/2010/01/FlashCountdownTimer.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://flashspeaksactionscript.com/wp-content/uploads/2010/01/FlashCountdownTimer.swf"
			name="fm_FlashCountdownTimer_2113776028"
			width="520"
			height="340">
	<!--<![endif]-->
		<a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<h3><a title="Download" href="http://dl.dropbox.com/u/272056/Downloads/FlashSpeaksActionScript/FlashCountdownTimerAS3.zip">Download</a></h3>
]]></content:encoded>
			<wfw:commentRss>http://flashspeaksactionscript.com/flash-countdown-timer-in-as3-using-a-class/feed/</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
		<item>
		<title>How To: Reverse Any Given String Using AS3</title>
		<link>http://flashspeaksactionscript.com/reverse-any-given-string-using-as3/</link>
		<comments>http://flashspeaksactionscript.com/reverse-any-given-string-using-as3/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 12:00:42 +0000</pubDate>
		<dc:creator>Angel Romero</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Intermediate]]></category>
		<category><![CDATA[Snippet]]></category>

		<guid isPermaLink="false">http://flashspeaksactionscript.com/?p=3976</guid>
		<description><![CDATA[Reversing a string is not something you might implement on a daily basis, however, having a handy way of doing so is always a great go to option. Here is a function that allows you to input a string of any length and it will then be outputted being reversed. This is definitely one function to add to your Flash utilities.]]></description>
			<content:encoded><![CDATA[<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fflashspeaksactionscript.com%252Freverse-any-given-string-using-as3%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22How%20To%3A%20Reverse%20Any%20Given%20String%20Using%20AS3%20%23Intermediate%20%23Snippet%22%20%7D);"></div>
<p>Reversing a string is not something you might implement on a daily basis, however, having a handy way of doing so is always a great go to option. Here is a function that allows you to input a string of any length and it will then be outputted being reversed. This is definitely one function to add to your Flash utilities.</p>
<p>Enjoy!</p>
<h2>Reverse Any Given String</h2>
<pre class="brush: as3; title: ; notranslate">function reverseString(tString:String):String {
var tmp_array:Array=tString.split(&quot;&quot;);
tmp_array.reverse();
var tmpString:String=tmp_array.join(&quot;&quot;);
return tmpString;
}</pre>
<h2>Source Demonstration</h2>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_ReverseString_303935078"
			class="flashmovie"
			width="510"
			height="160">
	<param name="movie" value="http://flashspeaksactionscript.com/files/reverse-string/ReverseString.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://flashspeaksactionscript.com/files/reverse-string/ReverseString.swf"
			name="fm_ReverseString_303935078"
			width="510"
			height="160">
	<!--<![endif]-->
		<a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<h3><a title="Download Source" href="http://flashspeaksactionscript.com/files/reverse-string/ReverseString.fla" target="_blank">Download source</a></h3>
]]></content:encoded>
			<wfw:commentRss>http://flashspeaksactionscript.com/reverse-any-given-string-using-as3/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Creating a Button Using FlashEff 2</title>
		<link>http://flashspeaksactionscript.com/creating-a-button-using-flasheff-2/</link>
		<comments>http://flashspeaksactionscript.com/creating-a-button-using-flasheff-2/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 12:00:20 +0000</pubDate>
		<dc:creator>Angel Romero</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Effects]]></category>
		<category><![CDATA[Flash Component]]></category>
		<category><![CDATA[Flash CS4]]></category>
		<category><![CDATA[FlashEff]]></category>

		<guid isPermaLink="false">http://flashspeaksactionscript.com/?p=3821</guid>
		<description><![CDATA[In a previous post, I introduced the release of FlashEff 2 as an innovative Flash animation tool. In an attempt to prove my point, I am going to demonstrate how you can use FlashEff2 to create a button using a MovieClip object.  While FlashEff can handle so much more, see how streamlined this process becomes with the use of FlashEff.]]></description>
			<content:encoded><![CDATA[<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fflashspeaksactionscript.com%252Fcreating-a-button-using-flasheff-2%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Creating%20a%20Button%20Using%20FlashEff%202%20%23Effects%20%23Flash%20Component%20%23Flash%20CS4%20%23FlashEff%22%20%7D);"></div>
<p>In a previous post, I introduced the <a title="FlashEff 2: Still The Most Innovative Flash Animation Tool" href="http://flashspeaksactionscript.com/flasheff-2-still-the-most-innovative-flash-animation-tool/" target="_blank">release of FlashEff 2</a> as an innovative Flash animation tool. In an attempt to prove my point, I am going to demonstrate how you can use FlashEff 2 to create a button using a MovieClip object.</p>
<p>OK, I know some of you might be thinking, a button? Well, creating a button in AS3 can be somewhat of a pain. After you get through creating your buttons, adding its functionality along with creating its appropriate event listeners; this process can get very old and tiring. Since FlashEff is here to simplify your workflow, why not let FlashEff handle your button&#8217;s functionality, animation and event listener creation.</p>
<h2>Using Button Mode</h2>
<p>In FlashEff 2, you can edit a button using its Button mode. This mode will allow you to assign your button some actions like <strong>following an URL, calling a function, or even going to a different frame</strong> whenever it gets clicked. All this without one single line of ActionScript. Here&#8217;s how!</p>
<h2>Creating a Button Object</h2>
<p>I am going to take a button graphic/design and create a MovieClip out of it. Once created, I will go into my Component Panel and drag a copy of the <strong>FlashEff2Button component</strong> onto my newly created MovieClip. One other great thing about FlashEff is that upon dragging a copy of its component onto the target object it will snap to the target&#8217;s 0,0 position.</p>
<p><img class="aligncenter size-full wp-image-3825" title="FlashEff: Snap to Object" src="http://flashspeaksactionscript.com/wp-content/uploads/2009/09/flasheff-snap-to-object.png" alt="FlashEff: Snap to Object" width="500" height="150" /></p>
<p><em>Now it is time to toy around with the FlashEff Panel. </em></p>
<h2>Using the FlashEff Panel</h2>
<p>The FlashEff Panel is where all of the magic happens. Here you can select any of the preset effects/animations that an object can have. Once you&#8217;ve added a preset, you can then preview an example of it via the live preview feature of the panel.  <a title="FlashEff 2 Panel Demo" href="http://www.flasheff.com/onlinetestdrive/?ref=8ed71ad009r709" target="_blank">Take it for a test drive</a>.</p>
<p><img class="aligncenter size-full wp-image-3824" title="FlashEff Panel" src="http://flashspeaksactionscript.com/wp-content/uploads/2009/09/flasheff-panel.png" alt="FlashEff Panel" /></p>
<h2>Adding my Button Effect/Animation</h2>
<p>In this example, I will select the &#8220;HappyTurn&#8221; preset. Now, if I wanted to I can modify the presets; allowing me to then save my own &#8220;custom&#8221; preset.  <em>(Feature available only if you have the Premium Plus license)</em> You can also adjust the tween type and speed for the <strong>up, over, and down</strong> button states. Just to keep things simple, I won&#8217;t be doing any of that.</p>
<p><img class="aligncenter size-full wp-image-3823" title="FlashEff: Happyturn Preset" src="http://flashspeaksactionscript.com/wp-content/uploads/2009/09/flasheff-happyturn-preset.png" alt="FlashEff: Happyturn Preset" width="500" height="150" /></p>
<h2>Adding Commands to the Button</h2>
<p>FlashEff&#8217;s Button mode comes equipped with its assortment of commands that you can trigger upon press. They include <strong>adding a sound, calling a function, going to a keyframe, navigating to a URL, playing back a sound, and switching objects.</strong> Also, you can even stack these commands which will allow you to trigger a sound, call a function, and navigate to a URL on one press.</p>
<p>In this example, I will be adding a sound playback on press along with an event to navigate to a URL upon double clicking the button object. When attaching a sound you can identify that sound through a linkage ID or path.</p>
<p><img class="aligncenter size-full wp-image-3822" title="FlashEff: Custom Commands" src="http://flashspeaksactionscript.com/wp-content/uploads/2009/09/flasheff-custom-commands.png" alt="FlashEff: Custom Commands" width="500" height="300" /></p>
<h2>Overview</h2>
<p>Below, you can find the final result of this mini demo.  Basically, the button, upon rollover, triggers the HappyTurn animation, then on press a click sound will trigger.  Now, if you double-click it will take you to the designated destination, Google&#8217;s homepage.  The custom possibilities are endless.  The more you use FlashEff the more situations you can picture yourself using the tool to simplify your project&#8217;s workflow.  To learn more on what FlashEff can accomplish, visit <a title="Flash Effects. Art Without coding." href="http://www.flasheff.com/?ref=44ddf67becr713" target="_blank">FlashEff.com</a>.</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_buttonMode_1988812169"
			class="flashmovie"
			width="500"
			height="340">
	<param name="movie" value="http://flashspeaksactionscript.com/files/flasheff2/create-button/buttonMode.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://flashspeaksactionscript.com/files/flasheff2/create-button/buttonMode.swf"
			name="fm_buttonMode_1988812169"
			width="500"
			height="340">
	<!--<![endif]-->
		<a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<h2>FlashEff 2 Giveaway Opportunity</h2>
<p>In the upcoming days, you are going to have the opportunity of winning 1 of 2 <strong>FlashEff 2 unlimited premium licenses</strong>.  Stay tuned&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://flashspeaksactionscript.com/creating-a-button-using-flasheff-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Smart SWF Optimization with Custom Framerates</title>
		<link>http://flashspeaksactionscript.com/smart-swf-optimization-with-custom-framerates/</link>
		<comments>http://flashspeaksactionscript.com/smart-swf-optimization-with-custom-framerates/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 13:00:41 +0000</pubDate>
		<dc:creator>Angel Romero</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Beginner]]></category>
		<category><![CDATA[framerate]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Videos]]></category>

		<guid isPermaLink="false">http://flashspeaksactionscript.com/?p=3664</guid>
		<description><![CDATA[Over the years, the Flash Player has received such a bad rep for hogging computer system resources even while displaying static content. There were many times in which I would wonder <em>"What the heck is Flash processing?"</em>. As for Flash Developers/Designers, there was only so much we can do to optimize the SWF via runtime. That was then, this is now!]]></description>
			<content:encoded><![CDATA[<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fflashspeaksactionscript.com%252Fsmart-swf-optimization-with-custom-framerates%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Smart%20SWF%20Optimization%20with%20Custom%20Framerates%20%23AS3%20%23Beginner%20%23framerate%20%23optimization%20%23Tutorial%20%23Videos%22%20%7D);"></div>
<p>Over the years, the Flash Player has received such a bad rep for hogging computer system resources even while displaying static content. There were many times in which I would wonder <em>&#8220;What the heck is Flash processing?&#8221;</em>. As for Flash Developers/Designers, there was only so much we can do to optimize the SWF via runtime. That was then, this is now! In Lee&#8217;s latest video tutorial, he demonstrates how you can <a title="New tutorial on SWF framerate optimization " href="http://theflashblog.com/?p=1138" target="_blank">dynamically change your movie&#8217;s framerate</a> to use only the resources it needs.</p>
<p>With its introduction in AS3, you can dynamically change the framerate of your SWF movie. In an earlier tutorial, I demonstrated how you can <a title="Dynamically Adjust the Frame Rate of a Flash Animation" href="http://flashspeaksactionscript.com/dynamically-adjust-the-frame-rate-of-a-flash-animation/" target="_self">change the framerate of your SWF</a> and how it will effect a frame by frame animation.</p>
<p>By leveraging the ability to dynamically change the framerate of your SWF, it will allow you to take advantage of idle moments in your Flash applications by changing the the framerate based on the content being displayed. It&#8217;s a simple, yet great concept.</p>
<p>Check out Lee&#8217;s video, <a title="SWF Framerate Optimization" href="http://www.gotoandlearn.com/play.php?id=112" target="_blank">SWF Framerate Optimization</a>, to learn more on how to implement such a concept. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://flashspeaksactionscript.com/smart-swf-optimization-with-custom-framerates/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Creating Custom Chrome For AIR Apps</title>
		<link>http://flashspeaksactionscript.com/creating-custom-chrome-for-air-apps/</link>
		<comments>http://flashspeaksactionscript.com/creating-custom-chrome-for-air-apps/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 15:00:28 +0000</pubDate>
		<dc:creator>Angel Romero</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Adobe TV]]></category>
		<category><![CDATA[Lee Brimelow]]></category>
		<category><![CDATA[Videos]]></category>

		<guid isPermaLink="false">http://flashspeaksactionscript.com/?p=2582</guid>
		<description><![CDATA[<p>When developing Adobe AIR apps, having the capability of controling the look and feel of an application's window chrome is huge.  Not only does it allow for designers to create a much more appealing interface window chrome, it also allows for <strong>personal branding</strong>.  </p>]]></description>
			<content:encoded><![CDATA[<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fflashspeaksactionscript.com%252Fcreating-custom-chrome-for-air-apps%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Creating%20Custom%20Chrome%20For%20AIR%20Apps%20%23Adobe%20TV%20%23Lee%20Brimelow%20%23Videos%22%20%7D);"></div>
<p>When developing Adobe AIR apps, having the capability of controling the look and feel of an application&#8217;s window chrome is huge.  Not only does it allow for designers to create a much more appealing interface window chrome, it also allows for <strong>personal branding</strong>.</p>
<p>With a community full of AIR applications, personal branding is something that just might make your application stand out more than others.  However, this concept can act as a double edged blade as you don&#8217;t want to risk usability when getting creative with your application&#8217;s window chrome.</p>
<p>Earlier this year, Lee Brimelow wrote a nice tutorial on how to go about customizing your application&#8217;s chrome and pros and cons on doing so.</p>
<p><strong>Below is a video created by Lee which turns out to be a nice compliment his tutorial.</strong></p>
<p><object width="425" height="256"><param name="movie" value="http://images.tv.adobe.com/swf/player.swf" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="FlashVars" value="fileID=938&amp;context=64&amp;embeded=true&amp;environment=production" /><embed type="application/x-shockwave-flash" width="425" height="256" src="http://images.tv.adobe.com/swf/player.swf" flashvars="fileID=938&amp;context=64&amp;embeded=true&amp;environment=production" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://flashspeaksactionscript.com/creating-custom-chrome-for-air-apps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exporting Flash As A Quicktime Movie</title>
		<link>http://flashspeaksactionscript.com/exporting-flash-as-a-quicktime-movie/</link>
		<comments>http://flashspeaksactionscript.com/exporting-flash-as-a-quicktime-movie/#comments</comments>
		<pubDate>Mon, 10 Nov 2008 15:00:54 +0000</pubDate>
		<dc:creator>Angel Romero</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Beginner]]></category>
		<category><![CDATA[Lee Brimelow]]></category>
		<category><![CDATA[QuickTime]]></category>
		<category><![CDATA[Videos]]></category>

		<guid isPermaLink="false">http://flashspeaksactionscript.com/?p=2402</guid>
		<description><![CDATA[Since the release of Flash CS3, a new feature called QuickTime export was introduced.  QuickTime export allows you to export Actionscript driven or timeline animations into a QuickTime movie file.  One key advantage of exporting Flash as a QuickTime movie is the ability to playback your heavy animations as fluid as possible with no skipped frames.]]></description>
			<content:encoded><![CDATA[<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fflashspeaksactionscript.com%252Fexporting-flash-as-a-quicktime-movie%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Exporting%20Flash%20As%20A%20Quicktime%20Movie%20%23Beginner%20%23Lee%20Brimelow%20%23QuickTime%20%23Videos%22%20%7D);"></div>
<p>Since the release of Flash CS3, a new feature called <strong>QuickTime export</strong> was introduced.  QuickTime export allows you to export Actionscript driven or timeline animations into a QuickTime movie file.  One key advantage of exporting Flash as a QuickTime movie is the ability to <strong>playback your heavy animations</strong> as fluid as possible with no skipped frames.</p>
<p><a title="Flash QuickTime Exporting" href="http://www.gotoandlearn.com/play.php?id=89" target="_blank">Lee Brimelow</a> walks you through the process of exporting ActionScript-based animations into a QuickTime movie and then compositing it within After Effects.  In the process of demonstrating this feature, Lee also gives some additional advice with ActionScript-based animations.</p>
<p>If you are in a hurry, follow the steps below to quickly get your Flash content exported into a Quicktime Movie.</p>
<h2>1. Open Flash File</h2>
<p>Open your existing Flash file that contains the animation.</p>
<h2>2. Export Your Movie</h2>
<p>By heading over to the file navigation menu, select Export&gt;Export Movie which should bring up a file dialog.</p>
<h2>3. Name/Save File</h2>
<p>Provide our new video with a file name and a new location. Select Quicktime as your movie type. <strong>Note:</strong> Quicktime is the only format that will allow you to export ActionScript driven animations.</p>
<h2>4. Configure Export Settings</h2>
<p>Configure the export settings to your specifications</p>
<p style="text-align: center;"><img class="size-full wp-image-5890 aligncenter" title="Flash Quicktime Export Settings" src="http://flashspeaksactionscript.com/wp-content/uploads/2008/11/flash-quicktime-export-settings.png" alt="Flash Quicktime Export Settings" width="489" height="314" /></p>
<h2>5. Export and Enjoy</h2>
<p>Click export and wait for your Flash to record your Flash animation. <strong>Note:</strong> For improved video playback and recording, close down any open applications till the recording process is complete. The more resources available &#8211; the better.</p>
]]></content:encoded>
			<wfw:commentRss>http://flashspeaksactionscript.com/exporting-flash-as-a-quicktime-movie/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Object Caching 1442/1546 objects using disk: basic

Served from: flashspeaksactionscript.com @ 2012-05-22 23:06:49 -->
