<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.1" -->
<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/"
	>

<channel>
	<title>Learning ActionScript 3.0</title>
	<link>http://www.learningactionscript3.com</link>
	<description>A digital supplement for the O'Reilly book</description>
	<pubDate>Mon, 23 Jun 2008 04:28:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
	<language>en</language>
			<item>
		<title>Welcome</title>
		<link>http://www.learningactionscript3.com/2007/11/02/welcome/</link>
		<comments>http://www.learningactionscript3.com/2007/11/02/welcome/#comments</comments>
		<pubDate>Fri, 02 Nov 2007 07:35:07 +0000</pubDate>
		<dc:creator>Rich and Zevan</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.learningactionscript3.com/2007/11/02/welcome/</guid>
		<description><![CDATA[Welcome to the companion website for Learning ActionScript 3.0 (O&#8217;Reilly). Ideally, you have found your way here after acquiring a copy of the book, and you are looking for further information about material referenced therein. If you&#8217;re new to this site, please continue reading. If you are a veteran to these pages, thanks for coming [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to the companion website for <em>Learning ActionScript 3.0</em> (O&#8217;Reilly). Ideally, you have found your way here after acquiring a copy of the book, and you are looking for further information about material referenced therein. If you&#8217;re new to this site, please continue reading. If you are a veteran to these pages, thanks for coming back, and have fun exploring.</p>
<p> <a href="http://www.learningactionscript3.com/2007/11/02/welcome/#more-24" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.learningactionscript3.com/2007/11/02/welcome/feed/</wfw:commentRss>
		</item>
		<item>
		<title>TweenLite Introduction</title>
		<link>http://www.learningactionscript3.com/2008/06/06/tweenlite-introduction/</link>
		<comments>http://www.learningactionscript3.com/2008/06/06/tweenlite-introduction/#comments</comments>
		<pubDate>Fri, 06 Jun 2008 14:45:51 +0000</pubDate>
		<dc:creator>Zevan</dc:creator>
		
		<category><![CDATA[Ch07: Motion]]></category>

		<category><![CDATA[tweening]]></category>

		<category><![CDATA[TweenLite]]></category>

		<guid isPermaLink="false">http://www.learningactionscript3.com/2008/06/06/tweenlite-introduction/</guid>
		<description><![CDATA[One of my favorite things to do in Flash is to program different types of motion. From particle systems to the boss at the end of an advergame&#8212;the basic principles for moving things around the screen with code are the same. There was a time when all the different types of motion that I saw [...]]]></description>
			<content:encoded><![CDATA[<p>One of my favorite things to do in Flash is to program different types of motion. From particle systems to the boss at the end of an advergame&mdash;the basic principles for moving things around the screen with code are the same. There was a time when all the different types of motion that I saw happening&mdash;back in the Flash 4 days&mdash;were a complete mystery to me. I remember spending a long time reverse engineering open source examples from <A href="http://www.ultrashock.com" target="_blank">ultrashock.com</a>. </p>
<h3>Motion Myth</h3>
<p>For some reason lots of people seem to think that ActionScript animation creates smoother animation than the Flash timeline. This is simply not true. The timeline is just as capable of creating &#8220;smooth&#8221; animations as ActionScript is. </p>
<p><i>On the timeline, if you want a smoother animation, use a framerate around 30fps and put more space between your keyframes.</i></p>
<h3>ActionScript vs. Timeline</h3>
<p>Students sometimes ask me when to use coded animation and when to use timeline animation. The answer is more complicated than you might expect. Here&#8217;s a basic set of rules:</p>
<p><b>TIMELINE ANIMATION IS FOR:</b><br />
 - animation that is always the same (static animation)</p>
<p><b>ACTIONSCRIPT ANIMATION IS FOR:</b><br />
 - interactive animation<br />
 - random animation<br />
 - animation driven from an outside source like an rss feed<br />
 - complex, static physics simulations that would be hard to animate on the timeline<br />
 - complex interactive physics simulation<br />
 - time-based animation&mdash;that is, animation that always runs at the same speed independent of framerate</p>
<p> <a href="http://www.learningactionscript3.com/2008/06/06/tweenlite-introduction/#more-50" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.learningactionscript3.com/2008/06/06/tweenlite-introduction/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Linkage Classes as Arguments</title>
		<link>http://www.learningactionscript3.com/2008/05/30/linkage-classes-as-arguments/</link>
		<comments>http://www.learningactionscript3.com/2008/05/30/linkage-classes-as-arguments/#comments</comments>
		<pubDate>Thu, 29 May 2008 20:42:52 +0000</pubDate>
		<dc:creator>Zevan</dc:creator>
		
		<category><![CDATA[Ch06: OOP]]></category>

		<category><![CDATA[General]]></category>

		<category><![CDATA[UI]]></category>

		<category><![CDATA[linkage class]]></category>

		<category><![CDATA[skin]]></category>

		<guid isPermaLink="false">http://www.learningactionscript3.com/2008/05/30/linkage-classes-as-arguments/</guid>
		<description><![CDATA[I like to make my custom UI elements easy to skin. If we wanted to create a check box class that was easy to skin, one thing we could do is create an FLA based AS3 component. Unfortunately to do that takes advanced programming skills. If you&#8217;re an intermediate programmer you might want to be [...]]]></description>
			<content:encoded><![CDATA[<p>I like to make my custom UI elements easy to skin. If we wanted to create a check box class that was easy to skin, one thing we could do is create an <a href="http://www.adobe.com/devnet/flash/articles/creating_as3_components.html" target="_blank">FLA based AS3 component</a>. Unfortunately to do that takes advanced programming skills. If you&#8217;re an intermediate programmer you might want to be able to create a skinnable UI element without all of the AS3 component architecture. </p>
<p>One way to achieve this is by creating a custom class that uses Library elements as assets. To increase flexibility (for swapping skins, for example), you can create each graphical element of your check box, store them in your Library, assign a linkage class name to each element, and then pass those linkage class names into your custom class. </p>
<p> <a href="http://www.learningactionscript3.com/2008/05/30/linkage-classes-as-arguments/#more-53" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.learningactionscript3.com/2008/05/30/linkage-classes-as-arguments/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Grids: Arranging Clips</title>
		<link>http://www.learningactionscript3.com/2008/05/17/grids-arranging-clips/</link>
		<comments>http://www.learningactionscript3.com/2008/05/17/grids-arranging-clips/#comments</comments>
		<pubDate>Fri, 16 May 2008 19:21:22 +0000</pubDate>
		<dc:creator>Zevan</dc:creator>
		
		<category><![CDATA[Ch03: Properties, Methods, Events]]></category>

		<category><![CDATA[for..loop]]></category>

		<category><![CDATA[grid]]></category>

		<category><![CDATA[modulo]]></category>

		<category><![CDATA[modulus]]></category>

		<guid isPermaLink="false">http://www.learningactionscript3.com/2008/05/17/grids-arranging-clips/</guid>
		<description><![CDATA[It&#8217;s extremely common to need to position display objects in a grid formation. I usually find myself doing it when displaying thumbnails for an image gallery. This post will take you through the process step by step. 
Related ContentThe Power of Relative Positioning]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s extremely common to need to position display objects in a grid formation. I usually find myself doing it when displaying thumbnails for an image gallery. This post will take you through the process step by step. </p>
<p> <a href="http://www.learningactionscript3.com/2008/05/17/grids-arranging-clips/#more-45" class="more-link">(more&#8230;)</a></p>
<br><h4>Related Content</h4><ul class="related_post"><li><a href="http://www.learningactionscript3.com/2008/05/13/the-power-of-relative-positioning/" title="The Power of Relative Positioning">The Power of Relative Positioning</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.learningactionscript3.com/2008/05/17/grids-arranging-clips/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Power of Relative Positioning</title>
		<link>http://www.learningactionscript3.com/2008/05/13/the-power-of-relative-positioning/</link>
		<comments>http://www.learningactionscript3.com/2008/05/13/the-power-of-relative-positioning/#comments</comments>
		<pubDate>Tue, 13 May 2008 15:21:27 +0000</pubDate>
		<dc:creator>Zevan</dc:creator>
		
		<category><![CDATA[Ch03: Properties, Methods, Events]]></category>

		<category><![CDATA[Ch07: Motion]]></category>

		<category><![CDATA[grid]]></category>

		<category><![CDATA[position]]></category>

		<category><![CDATA[properties]]></category>

		<guid isPermaLink="false">http://www.learningactionscript3.com/2008/05/13/the-power-of-relative-positioning/</guid>
		<description><![CDATA[Understanding the basic display object properties like x, y, width, height etc&#8230; is imperative for anyone interested in intermediate level ActionScript. It&#8217;s important to practice using properties until you understand them well enough to solve problems using them. If you&#8217;re not comfortable with properties yet, you should read through Chapter 3 and then try the [...]]]></description>
			<content:encoded><![CDATA[<p>Understanding the basic display object properties like <span class='inlineas'>x, y, width, height</span> etc&#8230; is imperative for anyone interested in intermediate level ActionScript. It&#8217;s important to practice using properties until you understand them well enough to solve problems using them. If you&#8217;re not comfortable with properties yet, you should read through Chapter 3 and then try the exercises in the <a href="/2008/04/20/property-practice-simple-motion/">Property Practice (simple motion)</a> post.</p>
<p> <a href="http://www.learningactionscript3.com/2008/05/13/the-power-of-relative-positioning/#more-43" class="more-link">(more&#8230;)</a></p>
<br><h4>Related Content</h4><ul class="related_post"><li><a href="http://www.learningactionscript3.com/2008/05/17/grids-arranging-clips/" title="Grids: Arranging Clips">Grids: Arranging Clips</a></li><li><a href="http://www.learningactionscript3.com/2007/11/03/more-properties-blendmodes-filters/" title="More Properties (Blend Modes and Filters)">More Properties (Blend Modes and Filters)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.learningactionscript3.com/2008/05/13/the-power-of-relative-positioning/feed/</wfw:commentRss>
		</item>
		<item>
		<title>AS3 Teachers Wanted</title>
		<link>http://www.learningactionscript3.com/2008/04/26/as3-teachers-wanted/</link>
		<comments>http://www.learningactionscript3.com/2008/04/26/as3-teachers-wanted/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 14:04:50 +0000</pubDate>
		<dc:creator>Rich</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[resources]]></category>

		<category><![CDATA[teaching]]></category>

		<category><![CDATA[Training]]></category>

		<guid isPermaLink="false">http://www.learningactionscript3.com/2008/04/26/as3-teachers-wanted/</guid>
		<description><![CDATA[If you are a teacher or trainer currently using Learning ActionScript 3.0 in a class, please get in touch. We are developing additional teaching resources and are anxious to know what you think would help you most. What are the strengths and weaknesses of the book? What tools will help you in your teaching? Any [...]]]></description>
			<content:encoded><![CDATA[<p>If you are a teacher or trainer currently using <i>Learning ActionScript 3.0</i> in a class, please <a href="/index.php/contact">get in touch</a>. We are developing additional teaching resources and are anxious to know what you think would help you most. What are the strengths and weaknesses of the book? What tools will help you in your teaching? Any opinions will be appreciated!</p>
<p>If you&#8217;re a student using <i>Learning ActionScript 3.0</i> in a class, please let us know what kinds of class resources you think would be useful, and tell your instructor we&#8217;re looking for input!</p>
<br><h4>Related Content</h4><ul class="related_post"><li><a href="http://www.learningactionscript3.com/2008/04/23/looking-forward-to-flashbelt/" title="Looking Forward to Flashbelt">Looking Forward to Flashbelt</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.learningactionscript3.com/2008/04/26/as3-teachers-wanted/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Looking Forward to Flashbelt</title>
		<link>http://www.learningactionscript3.com/2008/04/23/looking-forward-to-flashbelt/</link>
		<comments>http://www.learningactionscript3.com/2008/04/23/looking-forward-to-flashbelt/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 18:25:55 +0000</pubDate>
		<dc:creator>Rich</dc:creator>
		
		<category><![CDATA[Training]]></category>

		<category><![CDATA[flashbelt]]></category>

		<guid isPermaLink="false">http://www.learningactionscript3.com/2008/04/23/looking-forward-to-flashbelt/</guid>
		<description><![CDATA[
We&#8217;re very happy to announce that I&#8217;ll be conducting a workshop on ActionScript 3.0 at this year&#8217;s Flashbelt conference in Minneapolis. It&#8217;s a full-day workshop based on the book, teaching the fundamentals of AS3 with lots of examples and, of course, free source code.
This will be my first time at Flashbelt, and I&#8217;m really looking [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flashbelt.com"><img src='/wp-content/uploads/flashbelt_shupe.gif' border="0"/></a></p>
<p>We&#8217;re very happy to announce that I&#8217;ll be conducting a workshop on ActionScript 3.0 at this year&#8217;s <a href="http://www.flashbelt.com">Flashbelt</a> conference in Minneapolis. It&#8217;s a full-day workshop based on the book, teaching the fundamentals of AS3 with lots of examples and, of course, free source code.</p>
<p>This will be my first time at Flashbelt, and I&#8217;m really looking forward to it. I&#8217;ve heard very high praise about the show&mdash;praise that grows year over year&mdash;and I dig Flashbelt&#8217;s El Hefe, <strong>Dave Schroeder</strong>. In addition to putting together Flashbelt, Dave is also the brains and talent behind <a href="http://www.pilotvibe.com">Pilotvibe</a>, a groovy place to get you some Flash sound.</p>
<p>From everything I&#8217;ve heard, Flashbelt is a happenin&#8217; gig, that has an intimate feel and a stellar group of presenters. This year is no exception. Presenters include <strong>Mark Anders, Julian Dolce, JR Fabito, Richard Galvan, Moses Gunesch, Joshua Hirsch, Robert Hodgin, Mario Klingemann, Tali Krakowsky, Dan Lacivita, Lisa Larson-Kelley, Seb Lee-Delisle, Andre Michelle, Stacey Mulcahy, Erik Natzke, Paul Ortchanian, Danny Patterson, Todd Perkins, Robert Reinhardt, Rich Shupe, Geoff Stearns, Mate Steinforth, Zach Stepek, Craig Swann, Jared Tarbell, Dustin Tauer, Jeremy Thorp</strong>, and <strong>Philip Van Allen</strong>.</p>
<p>This year, the event is June 8-11, and I hope to see you there.</p>
<br><h4>Related Content</h4><ul class="related_post"><li><a href="http://www.learningactionscript3.com/2008/04/26/as3-teachers-wanted/" title="AS3 Teachers Wanted">AS3 Teachers Wanted</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.learningactionscript3.com/2008/04/23/looking-forward-to-flashbelt/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Property Practice (simple motion)</title>
		<link>http://www.learningactionscript3.com/2008/04/20/property-practice-simple-motion/</link>
		<comments>http://www.learningactionscript3.com/2008/04/20/property-practice-simple-motion/#comments</comments>
		<pubDate>Sat, 19 Apr 2008 18:24:25 +0000</pubDate>
		<dc:creator>Zevan</dc:creator>
		
		<category><![CDATA[Ch03: Properties, Methods, Events]]></category>

		<category><![CDATA[Ch07: Motion]]></category>

		<category><![CDATA[practice]]></category>

		<category><![CDATA[self-guided]]></category>

		<guid isPermaLink="false">http://www.learningactionscript3.com/2008/04/20/property-practice-simple-motion/</guid>
		<description><![CDATA[Having a good grasp of the basic properties of display objects is extremely important for anyone interested in intermediate level ActionScript. This post assumes that you&#8217;ve taken the time to read through Chapter 3. If you&#8217;re new to ActionScript, it will likely help with this post if you read up to Chapter 7. 
This post [...]]]></description>
			<content:encoded><![CDATA[<p>Having a good grasp of the basic properties of display objects is extremely important for anyone interested in intermediate level ActionScript. This post assumes that you&#8217;ve taken the time to read through Chapter 3. If you&#8217;re new to ActionScript, it will likely help with this post if you read up to Chapter 7. </p>
<p>This post contains a few short exercises that will put your knowledge of properties to the test. </p>
<p>As a guide, here are the properties that you will need to be familiar with:</p>
<pre class='code'>
x
y
scaleX
scaleY
height
width
rotation
</pre>
<p>For each example you&#8217;ll need to use the properties in conjunction with an enterFrame event:</p>
<pre  class='code'>
addEventListener(Event.ENTER_FRAME, onLoop, false, 0, true);

function onLoop(evt:Event):void {
  // change properties over time
}
</pre>
<p> <a href="http://www.learningactionscript3.com/2008/04/20/property-practice-simple-motion/#more-44" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.learningactionscript3.com/2008/04/20/property-practice-simple-motion/feed/</wfw:commentRss>
		</item>
		<item>
		<title>AS3 Components and TxEff</title>
		<link>http://www.learningactionscript3.com/2008/03/26/as3-components-and-txeff/</link>
		<comments>http://www.learningactionscript3.com/2008/03/26/as3-components-and-txeff/#comments</comments>
		<pubDate>Wed, 26 Mar 2008 00:50:53 +0000</pubDate>
		<dc:creator>Rich</dc:creator>
		
		<category><![CDATA[Components]]></category>

		<guid isPermaLink="false">http://www.learningactionscript3.com/2008/03/26/as3-components-and-txeff/</guid>
		<description><![CDATA[Recently I&#8217;ve been trying to put together a collection of AS3 components for some writing and training I&#8217;m doing about&#8230; er&#8230; AS3 components. I want to write a series of posts here, but I also have another column, book, and video training in the works, in which they may appear. With a fair amount of [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I&#8217;ve been trying to put together a collection of AS3 components for some writing and training I&#8217;m doing about&#8230; er&#8230; AS3 components. I want to write a series of posts here, but I also have another column, book, and video training in the works, in which they may appear. With a fair amount of focus on this effort, I wanted to look around for some great examples, ranging from open source to commercial, simple to advanced.</p>
<p>In the process, I happened upon <a href="http://www.txeff.com ">TxEff</a> from <a href="http://www.jumpeyecomponents.com/">Jumpeye Components</a>. TxEff is a spectacular text-effects component with a really great configuration utility that allows you to easily modify all the effects without writing any code. You can also configure the effects without the utility using XML. Written in AS3, it performs really well and Jumpeye did a great job, soup to nuts. You can even add on to the component with additional effects.</p>
<p>I haven&#8217;t been able to try any of the additional effect libraries, but I decided to try a simple test that fits in well with the first post in this series. I wanted to see how easy it would be to create a simple effect using the online utility. I wanted to create something that anyone could do, right out o the box. I was pretty impressed with how easy it was to adjust the many parameters and found myself with the problem of too much goodness to choose from. Then I decided to test the defaults of one of the new effects, 3DCamFocus. Here it is:</p>
<p> <a href="http://www.learningactionscript3.com/2008/03/26/as3-components-and-txeff/#more-46" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.learningactionscript3.com/2008/03/26/as3-components-and-txeff/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Graphics Class clear() Method</title>
		<link>http://www.learningactionscript3.com/2008/02/20/graphics-class-clear-method/</link>
		<comments>http://www.learningactionscript3.com/2008/02/20/graphics-class-clear-method/#comments</comments>
		<pubDate>Tue, 19 Feb 2008 20:53:15 +0000</pubDate>
		<dc:creator>Zevan</dc:creator>
		
		<category><![CDATA[Ch08: Drawing with Vectors]]></category>

		<category><![CDATA[clear()]]></category>

		<category><![CDATA[graphics class]]></category>

		<guid isPermaLink="false">http://www.learningactionscript3.com/2008/02/20/graphics-class-clear-method/</guid>
		<description><![CDATA[Over the past two weeks I&#8217;ve taught two different lessons covering the basic ins and outs of the Graphics class (Drawing API). Something I noticed is that it&#8217;s not always immediately apparent when you&#8217;re starting out that the clear() method can be used to animate dynamically drawn vector graphics. That is, in both my class [...]]]></description>
			<content:encoded><![CDATA[<p>Over the past two weeks I&#8217;ve taught two different lessons covering the basic ins and outs of the <span class='inlineas'>Graphics</span> class (Drawing API). Something I noticed is that it&#8217;s not always immediately apparent when you&#8217;re starting out that the <span class='inlineas'>clear()</span> method can be used to <i>animate</i> dynamically drawn vector graphics. That is, in both my class demos I introduced <span class='inlineas'>clear()</span> by using it to erase a canvas when a button was clicked. When I described the idea of  continuously clearing and redrawing graphics to create an animation there was some confusion, so I created a simple demo on the fly:</p>
<pre class='code'>
addEventListener(Event.ENTER_FRAME, onLoop, false, 0, true);

function onLoop(evt:Event):void {
	graphics.clear();
	graphics.lineStyle(1,0x000000);
	graphics.moveTo(100,100);
	graphics.lineTo(mouseX, mouseY);
}
</pre>
<p><i>Copy this into your timeline if you&#8217;re not sure what it does.</i></p>
<p> <a href="http://www.learningactionscript3.com/2008/02/20/graphics-class-clear-method/#more-42" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.learningactionscript3.com/2008/02/20/graphics-class-clear-method/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
