<?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>dispatchEvent()™ &#187; physics &amp; motion</title>
	<atom:link href="http://dispatchevent.org/category/physics-motion/feed/" rel="self" type="application/rss+xml" />
	<link>http://dispatchevent.org</link>
	<description>Collective thoughts on the Flash Platform, iOS, Unity, and any other technology we use.</description>
	<lastBuildDate>Mon, 23 Apr 2012 19:07:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>KitchenSync Version 2.0 is now available!</title>
		<link>http://dispatchevent.org/mims/kitchensync-v2-released/</link>
		<comments>http://dispatchevent.org/mims/kitchensync-v2-released/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 03:14:49 +0000</pubDate>
		<dc:creator>Mims H Wright</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[physics & motion]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[KitchenSync]]></category>
		<category><![CDATA[launch]]></category>
		<category><![CDATA[tween]]></category>
		<category><![CDATA[version2.0]]></category>

		<guid isPermaLink="false">http://dispatchevent.org/?p=809</guid>
		<description><![CDATA[I&#8217;m very proud to announce that the second version of KitchenSync has arrived! What started as a labour of love about 3 years ago has finally gotten its first much needed upgrade. Just about everything in this version is newer and more streamlined. The entire system for greater simplicity and practical functionality. This version will [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m very proud to announce that the second version of KitchenSync has arrived! What started as a labour of love about 3 years ago has finally gotten its first much needed upgrade. Just about everything in this version is newer and more streamlined. The entire system for greater simplicity and practical functionality.</p>
<p>This version will not be backwards compatible, however, there&#8217;s finally someÂ <a href="http://kitchensync.as3lib.org/manual">Decent Documentation</a>!!! There&#8217;s also a <a href="http://kitchensync.as3lib.org">new blog</a> devoted to KS.</p>
<p><a href="http://kitchensynclib.googlecode.com">GO GET IT NOW!</a></p>
<p>Here&#8217;s some of the new features. You can view all of them by checking out theÂ <a href="http://kitchensynclib.googlecode.com/svn/trunk/docs/changelog.txt">change log</a>.</p>
<ul>
<li>Usability
<ul>
<li>REFACTORED all classes with usability and stability in mind.</li>
<li>UPDATED all ASDocs</li>
<li>ADDED several new methods in the TweenFactory for easy tween creation.</li>
</ul>
</li>
<li>Synchronizer and Time
<ul>
<li>REFACTORED The way time is handled throughout.</li>
<li>ADDED ISynchronizerCore and example core classes. This allows advanced users to switch between different methods of timing (e.g. enterframe or timer based)</li>
<li>ADDED FrameRateUtil for getting instantaneous and averaged framerates of the system. The FrameRateView now makes use of this class and has more options.</li>
</ul>
</li>
<li>Action Architecture
<ul>
<li>REFACTORED action classes and extracted several interfaces from them.</li>
<li>ADDED jumpToTime and jumpByTime functionality to actions.</li>
<li>ADDED Looping via a new group called KSLooper.</li>
<li>REMOVED complicated and rarely used action triggers from AbstractAction.</li>
<li>ADDED togglePause() method and progress variable to AbstractAction (for getting percentage complete of an action).</li>
</ul>
</li>
<li>Tweens
<ul>
<li>CHANGED constructors in KSTween. Emphasis is now on using TweenFactory.</li>
<li>IMPROVED Object parser in TweenFactory</li>
</ul>
</li>
<li>Action Groups
<ul>
<li>ADDED Syntactic sugar to the group constructors. using an array in the constructor for a parallel group adds a sequence and vice versa.</li>
<li>ADDED totalDuration to groups to show the duration of all child actions in a group.</li>
<li>ADDED KSRandomGroup.</li>
<li>REMOVED KSSteppedSequenceGroup because it seemed kinda useless.</li>
</ul>
</li>
<li>Loading Actions
<ul>
<li>REFACTORED Loading actions. Now they&#8217;re much easier to use and more powerful.</li>
<li>ADDED KSLoadQueue for quickly creating a class to load files from the network in a batch.</li>
<li>ADDED the resultList property to the ILoaderAction interface so that you can quickly access the loaded files in a batch.</li>
</ul>
</li>
<li>Misc
<ul>
<li>RENAMED several classes and reworked package structure</li>
<li>ADDED KSAsynchronousIteration for running processor-intensive for loops spaced out over a period of time so that they are essentially asynchronous.</li>
<li>FIXED several minor and major bugs.</li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://dispatchevent.org/mims/kitchensync-v2-released/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Slides from  conference presentation</title>
		<link>http://dispatchevent.org/mims/slides-from-conference-presentation/</link>
		<comments>http://dispatchevent.org/mims/slides-from-conference-presentation/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 19:36:07 +0000</pubDate>
		<dc:creator>Mims H Wright</dc:creator>
				<category><![CDATA[IRL]]></category>
		<category><![CDATA[physics & motion]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[head]]></category>
		<category><![CDATA[headconference]]></category>

		<guid isPermaLink="false">http://dispatchevent.org/?p=453</guid>
		<description><![CDATA[The &#60;head&#62; conference was a success despite some technical difficulties. I had a really good time presenting and watching other friends and colleagues present. I&#8217;m looking forward to next year. Here are the slides from my presentation]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://headconference.com" target="_blank">&lt;head&gt; conference</a> was a success despite some technical difficulties. I had a really good time presenting and watching other friends and colleagues present. I&#8217;m looking forward to next year.</p>
<p><a href="http://dispatchevent.org/wp-content/uploads/2008/10/kitchensyncpresentation.zip">Here are the slides from my presentation<br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dispatchevent.org/mims/slides-from-conference-presentation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>KitchenSync version 1.6 released!</title>
		<link>http://dispatchevent.org/mims/kitchensync-version-16-released/</link>
		<comments>http://dispatchevent.org/mims/kitchensync-version-16-released/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 21:50:03 +0000</pubDate>
		<dc:creator>Mims H Wright</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[physics & motion]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[announcement]]></category>
		<category><![CDATA[KitchenSync]]></category>
		<category><![CDATA[v1.6]]></category>

		<guid isPermaLink="false">http://dispatchevent.org/?p=428</guid>
		<description><![CDATA[KitchenSync version 1.6 is released! Guess what feature it doesn&#8217;t have yet&#8230; That&#8217;s right! There is STILL NO Color Tweening (unless you count ColorMatrixFilter tweens which it does have). However, I hope I can crank out and release version 2.0 over the next two weeks which would have it. Here are some of the features [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://kitchensynclib.googlecode.com"><img class="alignnone" title="KitchenSync" src="http://mimswright.com/kitchensync/docs/img/KSLogo.png" alt="" width="515" height="110" /></a></p>
<p><strong>KitchenSync version 1.6 is released!</strong> Guess what feature it doesn&#8217;t have yet&#8230; That&#8217;s right! There is <strong>STILL NO Color Tweening</strong> (unless you count ColorMatrixFilter tweens which it does have). However, I hope I can crank out and release version 2.0 over the next two weeks which would have it.</p>
<p>Here are some of the features that 1.6 <strong>DOES </strong>have:</p>
<ul>
<li>Added a TweenFactory which provides an easy to use interface for creating new tweens including an object parser similar to FuseKit&#8217;s interface. You can now use something like:<br />
<code>var tween:ITween = TweenFactory.newTween({target:foo, properties:"x:0~100, y:500~200", duration:"3seconds", scale:1~5});</code></li>
<li>Altered KSTween to use multiple tween targets. Now includes methods like addTweenTarget(). This allows you to tween multiple properties with a single KSTween object!</li>
<li>Added an optimized implementation of IAction called KSSimpleTween. This class showed a 25% performance increase over KSTween!</li>
<li>Added SoundTransformTarget for changing volume or panning of a sound.</li>
<li>Added new action groups including:
<ul>
<li>KSSimultaneousEndGroup which causes all children to end simultaneously. This is like a parallel group in reverse.</li>
<li>KSSteppedSequenceGroup for sequencing PowerPoint-like applications. This automatically pauses the group after each child is completed. Instant slideshow!</li>
</ul>
</li>
<li>Finished adding IAction interface. This allows more flexible and customized use of the synchronizer by allowing you to create actions without using the AbstractAction superclass.</li>
<li>Also added ITween and ISynchronizerClient interfaces</li>
<li>Changed the license from LGPL to MIT license.</li>
<li>For a complete list, check out the <a href="http://kitchensynclib.googlecode.com/svn/trunk/docs/changelog.txt">ChangeLog</a>!</li>
</ul>
<p>To get the latest version, go to the Google Code <a href="http://code.google.com/p/kitchensynclib/">project page</a>. Thanks and enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://dispatchevent.org/mims/kitchensync-version-16-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interviewed about KitchenSync on Inside RIA blog</title>
		<link>http://dispatchevent.org/mims/interviewed-about-kitchensync-on-inside-ria-blog/</link>
		<comments>http://dispatchevent.org/mims/interviewed-about-kitchensync-on-inside-ria-blog/#comments</comments>
		<pubDate>Sun, 12 Oct 2008 06:56:27 +0000</pubDate>
		<dc:creator>Mims H Wright</dc:creator>
				<category><![CDATA[physics & motion]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[interview]]></category>
		<category><![CDATA[KitchenSync]]></category>

		<guid isPermaLink="false">http://dispatchevent.org/?p=424</guid>
		<description><![CDATA[Oh my goodness gracious sakes alive!* I have been interviewed about KitchenSync for InsideRIA blog by RJ Owen of EffectiveUI. RJ is a very swell guy. Mercy me!* Read! *My dear grandmother is prone to use expressions like this.]]></description>
			<content:encoded><![CDATA[<p>Oh my goodness gracious sakes alive!* I have been <a href="http://www.insideria.com/2008/09/an-interview-with-kitchen-sync.html" target="_blank">interviewed</a> about <a href="http://kitchensynclib.googlecode.com/" target="_blank">KitchenSync </a>for <a href="http://insideria.com/" target="_blank">InsideRIA blog</a> by<a href="http://www.oreillynet.com/pub/au/3442" target="_blank"> RJ Owen</a> of <a href="http://effectiveui.com/" target="_blank">EffectiveUI</a>. RJ is a very swell guy. Mercy me!*</p>
<p><a href="http://www.insideria.com/2008/09/an-interview-with-kitchen-sync.html" target="_blank">Read!</a></p>
<p><small>*My dear grandmother is prone to use expressions like this.</small></p>
]]></content:encoded>
			<wfw:commentRss>http://dispatchevent.org/mims/interviewed-about-kitchensync-on-inside-ria-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>20 reasons to use KitchenSync for animation and sequencing on your next project</title>
		<link>http://dispatchevent.org/mims/ks-20reasons/</link>
		<comments>http://dispatchevent.org/mims/ks-20reasons/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 05:32:42 +0000</pubDate>
		<dc:creator>Mims H Wright</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Lab]]></category>
		<category><![CDATA[physics & motion]]></category>
		<category><![CDATA[KitchenSync]]></category>

		<guid isPermaLink="false">http://dispatchevent.org/?p=292</guid>
		<description><![CDATA[Versatility &#8211; Great for tweening animation, yes, but also great for calling functions, disptaching events, playing sounds, controlling MovieClips, and more. Virtually any code can be run at a specific time. In KitchenSync, any event or behaviour that can be sequenced is called an &#8220;action&#8220;. Advanced sequencing &#8211; There are several types of action groups [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li><strong>Versatility</strong> &#8211; Great for tweening animation, yes, but also great for calling <a href="http://code.google.com/p/kitchensynclib/wiki/KSFunction">functions</a>, <a href="http://code.google.com/p/kitchensynclib/wiki/KSDispatchEvent">disptaching events</a>, playing <a href="http://code.google.com/p/kitchensynclib/wiki/KSSoundController">sounds</a>, controlling <a href="http://code.google.com/p/kitchensynclib/wiki/KSMovieClipController">MovieClips</a>, and more. Virtually any code can be run at a specific time. In KitchenSync, any event or behaviour that can be sequenced is called an &#8220;<a href="http://code.google.com/p/kitchensynclib/wiki/AbstractAction">action</a>&#8220;.</li>
<li><strong>Advanced sequencing</strong> &#8211; There are several types of <a href="http://code.google.com/p/kitchensynclib/wiki/ActionGroups">action groups</a> designed to meet the real-world sequencing needs of projects.</li>
<li><strong>Interchangeable groups</strong> &#8211; Treats all actions, including groups of actions (like sequences), as the same type of object so they can be interchanged. That means you can nest sequences inside of other sequences.</li>
<li><strong>Video-like <a href="http://as3lib.org/kitchensync/docs/api/org/as3lib/kitchensync/action/AbstractAction.html">controls</a></strong> &#8211; All actions, even groups, have the ability to play, pause, stop, reset, play backwards, loop, and jump to a specific time. Calling one of these functions on a group affects all of the items in the group.</li>
<li><strong>Beyond Penner</strong> &#8211; All the familiar <a href="http://as3lib.org/kitchensync/docs/api/org/as3lib/kitchensync/easing/package-detail.html">easing functions</a> are included as well as several original ones like oscillators. An easing utility class has also been added which allows you to create hybrid easing functions.</li>
<p><span id="more-292"></span></p>
<li><strong>Lots of events</strong> &#8211; <a href="http://as3lib.org/kitchensync/docs/api/org/as3lib/kitchensync/core/KitchenSyncEvent.html">Events</a> are dispatched throughout the lifetime of an action including when it is started, paused, and completed.</li>
<li><strong>Timeline tweening</strong> &#8211; Set up a complicated animation on the timeline then <a href="http://dispatchevent.org/mims/tweening-timeline-animations-with-kitchensync/">control it using a tween </a>object. From KitchenSync you can change the duration of the animation, the easing function, or play it backwards.</li>
<li><strong>Flexible tweens</strong> &#8211; Tweens are split into two classes. One for timing and easing (<a href="http://code.google.com/p/kitchensynclib/wiki/KSTween">KSTween</a>) and one for controlling values (<a href="http://as3lib.org/kitchensync/docs/api/org/as3lib/kitchensync/action/tweentarget/ITweenTarget.html">ITweenTarget</a>). This allows you to tween complex values (such as filters, timelines, colors) without using a separate tween class for each application. Factory classes help you create the tween you need.</li>
<li><strong>Tween any property</strong> &#8211; The default tween target, TargetProperty, controls any numeric property of any object, not just a preset list of MovieClip properties. Among other things, that means it can be used in conjunction with other libraries like PaperVision3D.</li>
<li><strong>Customizable actions</strong> &#8211; Actions have many tweakable properties like snapping and synching. Default values can be controlled in a centralized location.</li>
<li><strong>Convenient cloning</strong> &#8211; Any action can be easily cloned and modified with the <a href="http://as3lib.org/kitchensync/docs/api/org/as3lib/kitchensync/action/AbstractAction.html#clone()">clone()</a> method.</li>
<li><strong>Optional Synchronizing</strong> &#8211; All actions have the option of playing back in &#8216;<a href="http://as3lib.org/kitchensync/docs/api/org/as3lib/kitchensync/action/AbstractAction.html#sync">sync mode</a>&#8216; which will keep your animations in sync with sounds or timers even if the frame rate drops. Or turn this mode off to ensure there are no dropped frames.</li>
<li><strong>Built-in Command queue</strong> &#8211; <a href="http://code.google.com/p/kitchensynclib/wiki/KSSequenceGroup">KSSequenceGroup</a> objects, when combined with <a href="http://code.google.com/p/kitchensynclib/wiki/KSFunction">KSFunction</a> and <a href="http://as3lib.org/kitchensync/docs/api/org/as3lib/kitchensync/action/KSAsynchronousFunction.html">KSAsynchronousFunction</a> objects, can act as a built-in <a href="http://en.wikipedia.org/wiki/Command_queue">command queue</a>. This allows you to build a list of functions and other actions that need to be run in a certain order then execute them all at once.</li>
<li><strong>Easy time parsing</strong> &#8211; <a href="http://code.google.com/p/kitchensynclib/wiki/Timing">Time string parsing</a> makes it incredibly easy to set times using any units you like. Frames, milliseconds, seconds, minutes, hours, even years and abbreviations for each are all supported. Even timecode format (hh:mm:ss;ff) will work.</li>
<li><strong>OOP</strong> &#8211; Super-tight object-oriented design makes the code very easy to extend and customize. Tweens are created as individual objects instead of handled by a static method. Like to name-drop design patterns? We got factory, composite, command, strategy, and of course, singletons to name a few.</li>
<li><strong>Descriptive syntax and lots of documentation</strong> &#8211; Initializing the engine takes one line of code. One more line and your&#8217;re tweening. Exhaustive documentation in the <a href="http://code.google.com/p/kitchensynclib/w/list">wiki</a> and <a href="http://as3lib.org/kitchensync/docs/api/index.html?package-summary.html&amp;all-classes.html">asdocs</a> will help you through the rest.</li>
<li><strong>Speed</strong> &#8211; Tween performance for KitchenSync is competitive with the other major tweening engines like tweener. A very easy to use <a href="http://as3lib.org/kitchensync/docs/api/org/as3lib/kitchensync/utils/FrameRateView.html">framerate calculator class</a> is included to help you tweak performance.</li>
<li><strong>Small file size</strong> &#8211; KitchenSync is about 10-20KB (depending on how many classes are used) when compressed.</li>
<li><strong>Tidy</strong> &#8211; Optional <a href="http://as3lib.org/kitchensync/docs/api/org/as3lib/kitchensync/action/AbstractAction.html#autoDelete">automatic deletion</a> of completed tweens helps keep memory managed with minimum effort.</li>
<li>Last but not least, it&#8217;s <strong>Free</strong> &#8211; It&#8217;s free and <a href="http://www.opensource.org/licenses/lgpl-license.php">open source</a>. In other words, you already own it and are free to change it.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://dispatchevent.org/mims/ks-20reasons/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Tweening timeline animations with KitchenSync</title>
		<link>http://dispatchevent.org/mims/tweening-timeline-animations-with-kitchensync/</link>
		<comments>http://dispatchevent.org/mims/tweening-timeline-animations-with-kitchensync/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 23:31:33 +0000</pubDate>
		<dc:creator>Mims H Wright</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Lab]]></category>
		<category><![CDATA[physics & motion]]></category>
		<category><![CDATA[Site-seeing]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Videogames]]></category>
		<category><![CDATA[KitchenSync]]></category>

		<guid isPermaLink="false">http://dispatchevent.org/?p=284</guid>
		<description><![CDATA[One of the new features in KitchenSync 1.5 is the ability to tween animations on a MovieClip&#8217;s timeline&#8230; and I&#8217;m not just talking about gotoAndPlay(), I&#8217;m talking about controlling the starting and stopping points, speed, and easing functions of an animation on the timeline with code. It does this by incrementally controlling the current frame [...]]]></description>
			<content:encoded><![CDATA[<p>One of the new features in <a href="http://dispatchevent.org/mims/kitchensync-v1-5/">KitchenSync 1.5</a> is the ability to tween animations on a MovieClip&#8217;s timeline&#8230; and I&#8217;m not just talking about gotoAndPlay(), I&#8217;m talking about controlling the starting and stopping points, speed, and easing functions of an animation on the timeline with code. It does this by incrementally controlling the current frame number of the MovieClip using a <a href="http://as3lib.org/kitchensync/docs/api/org/as3lib/kitchensync/action/KSTween.html">KSTween</a> and a special <a href="http://as3lib.org/kitchensync/docs/api/org/as3lib/kitchensync/action/tweentarget/ITweenTarget.html">ITweenTarget</a> (a class used to control the values of an object) called <a href="http://as3lib.org/kitchensync/docs/api/org/as3lib/kitchensync/action/tweentarget/TimelineController.html"><strong>TimelineController</strong></a>.</p>
<p>Take this FLA animation.</p>
<p><a href="http://dispatchevent.org/wp-content/uploads/2008/07/timelineAnimationStill.png"><img src="http://dispatchevent.org/wp-content/uploads/2008/07/timelineAnimationStill.png" alt="MovieClip animation" /></a></p>
<p>As you can see, there is a simple animation using a guide layer and labels on the key frames.</p>
<p><span id="more-284"></span></p>
<p>The following SWF uses KitchenSync to control the same ball animation. As you can see, the duration and easing functions of the animation can be controlled. You can even animate backwards!</p>
<p><a href="/wp-content/uploads/2008/07/FlashIntegrationTest.swf">See it in action.</a></p>
<p>The source that controls this is here.</p>
<pre lang="actionscript3">package {
	import flash.display.MovieClip;

	import org.as3lib.kitchensync.KitchenSync;
	import org.as3lib.kitchensync.action.*;
	import org.as3lib.kitchensync.action.tweentarget.*;
	import org.as3lib.kitchensync.easing.Bounce;
	import org.as3lib.kitchensync.easing.Cubic;
	import org.as3lib.kitchensync.easing.Linear;
	import org.as3lib.kitchensync.easing.Oscillate;

	/**
	*	Demos the TimelineController which controls the animation of a MovieClip's timeline.
	*/
	public class FlashIntegrationTest extends MovieClip
	{
		protected var test1:MovieClip;

		public function FlashIntegrationTest()
		{
			super();
			// initialize kitchensync.
			KitchenSync.initialize(this, "1.5");

			// add a movieclip from the library
			test1 = MovieClip(new AnimationTest1());
			addChild(test1);

			// define the start and end frame with strings or ints or FrameLabel's
			var startLabel:* = "start";
			var endLabel:* = "end";

			// set up the TimelineController tween target.
			var tweenTarget:TimelineController = new TimelineController(test1, startLabel, endLabel);
			// Animate the ball with a linear ease.
			var tween:KSTween = KSTween.newWithTweenTarget(tweenTarget, "1s", 0, Linear.ease);

			// animate the ball backwards with a bounce tween
			var tween2:KSTween = tween.cloneReversed();
			tween2.duration = "4s";
			tween2.easingFunction = Bounce.easeOut;
			tween2.addTrigger(tween);

			// animate the ball with an oscillator
			var tween3:KSTween = KSTween.newWithTweenTarget(tweenTarget, "10m", "1s", Oscillate.sine);
			tween3.easingMod1 = 0.3;
			tween3.addTrigger(tween2);

			// start the animations
			tween.start();
		}

	}
}</pre>
<p>Pretty cool huh? We&#8217;re creating a new TimelineController and setting the boundaries of the animation then passing it to a new KSTween object. Each of the three tweens use different parameters and are triggered by the end of the one before it.</p>
<p>You can <a href="http://dispatchevent.org/wp-content/uploads/2008/07/timelineControllerDemo.zip">download the entire thing</a> and play around with it.</p>
]]></content:encoded>
			<wfw:commentRss>http://dispatchevent.org/mims/tweening-timeline-animations-with-kitchensync/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

