<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Timing an animation in ActionScript 3</title>
	<atom:link href="http://www.zedia.net/timing-an-animation-in-actionscript-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zedia.net</link>
	<description>Flash, ActionScript, SEO and everything in between</description>
	<lastBuildDate>Sat, 04 Feb 2012 08:16:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: learningflash</title>
		<link>http://www.zedia.net/timing-an-animation-in-actionscript-3/comment-page-1/#comment-8170</link>
		<dc:creator>learningflash</dc:creator>
		<pubDate>Thu, 15 Sep 2011 17:33:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/timing-an-animation-in-actionscript-3/#comment-8170</guid>
		<description>Hi, 
I have the following code. Im a newbie in Flash.
my question is:~ &quot;how to stop a function????&quot;.

on my layer, i start a Keyframe goes from Alpha 0 to 100,from left to right.then my funcion starts,wich makes mi image to look like water moving ,once it stop all teh way to the right on alpha 100.
then, I want to go from alpha 100 to cero..
like if my function  will stay on for 3 seconds...then the image will disolve...dissapear..

here is my code, i hope i did explain my self!
thanks in advance, your help will save me!!!
var bm:BitmapData=new BitmapData(backImg1.width, backImg1.height);
var disp:DisplacementMapFilter = new DisplacementMapFilter(bm,new Point(0,0),1,2,10,60);
var pt1:Point = new Point(0,0);
var pt2:Point = new Point(0,0);
var perlinOffset:Array = [pt1, pt2];

addEventListener(Event.ENTER_FRAME, onFrame);
function onFrame(evt:Event):void {
  perlinOffset[0].x +=1;
  perlinOffset[1].y +=0.1;
  bm.perlinNoise(45,9,2,50,true,false, 7,true,perlinOffset);
  backImg1.filters=[disp];
}</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I have the following code. Im a newbie in Flash.<br />
my question is:~ &#8220;how to stop a function????&#8221;.</p>
<p>on my layer, i start a Keyframe goes from Alpha 0 to 100,from left to right.then my funcion starts,wich makes mi image to look like water moving ,once it stop all teh way to the right on alpha 100.<br />
then, I want to go from alpha 100 to cero..<br />
like if my function  will stay on for 3 seconds&#8230;then the image will disolve&#8230;dissapear..</p>
<p>here is my code, i hope i did explain my self!<br />
thanks in advance, your help will save me!!!<br />
var bm:BitmapData=new BitmapData(backImg1.width, backImg1.height);<br />
var disp:DisplacementMapFilter = new DisplacementMapFilter(bm,new Point(0,0),1,2,10,60);<br />
var pt1:Point = new Point(0,0);<br />
var pt2:Point = new Point(0,0);<br />
var perlinOffset:Array = [pt1, pt2];</p>
<p>addEventListener(Event.ENTER_FRAME, onFrame);<br />
function onFrame(evt:Event):void {<br />
  perlinOffset[0].x +=1;<br />
  perlinOffset[1].y +=0.1;<br />
  bm.perlinNoise(45,9,2,50,true,false, 7,true,perlinOffset);<br />
  backImg1.filters=[disp];<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jai</title>
		<link>http://www.zedia.net/timing-an-animation-in-actionscript-3/comment-page-1/#comment-7245</link>
		<dc:creator>Jai</dc:creator>
		<pubDate>Thu, 23 Jun 2011 02:49:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/timing-an-animation-in-actionscript-3/#comment-7245</guid>
		<description>Thank you.</description>
		<content:encoded><![CDATA[<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aaron</title>
		<link>http://www.zedia.net/timing-an-animation-in-actionscript-3/comment-page-1/#comment-7225</link>
		<dc:creator>aaron</dc:creator>
		<pubDate>Mon, 20 Jun 2011 23:54:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/timing-an-animation-in-actionscript-3/#comment-7225</guid>
		<description>Praise God, thank you for this tut, I was looking for instructions of this exact nature for a week now. Peace.</description>
		<content:encoded><![CDATA[<p>Praise God, thank you for this tut, I was looking for instructions of this exact nature for a week now. Peace.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jameel Ahmed</title>
		<link>http://www.zedia.net/timing-an-animation-in-actionscript-3/comment-page-1/#comment-7165</link>
		<dc:creator>Jameel Ahmed</dc:creator>
		<pubDate>Sat, 11 Jun 2011 11:33:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/timing-an-animation-in-actionscript-3/#comment-7165</guid>
		<description>Zedia, thank you so much for this tutorial.
I got it what I wanted...
Thanks again!</description>
		<content:encoded><![CDATA[<p>Zedia, thank you so much for this tutorial.<br />
I got it what I wanted&#8230;<br />
Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alvin</title>
		<link>http://www.zedia.net/timing-an-animation-in-actionscript-3/comment-page-1/#comment-6525</link>
		<dc:creator>alvin</dc:creator>
		<pubDate>Sat, 02 Apr 2011 20:31:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/timing-an-animation-in-actionscript-3/#comment-6525</guid>
		<description>Hello,
Do you know how to make a function that show an object at certain time? For example, I would like an arrow to show at the 59 second and disappear at 1:10. Thank you.</description>
		<content:encoded><![CDATA[<p>Hello,<br />
Do you know how to make a function that show an object at certain time? For example, I would like an arrow to show at the 59 second and disappear at 1:10. Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: respect</title>
		<link>http://www.zedia.net/timing-an-animation-in-actionscript-3/comment-page-1/#comment-5639</link>
		<dc:creator>respect</dc:creator>
		<pubDate>Sat, 04 Dec 2010 01:37:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/timing-an-animation-in-actionscript-3/#comment-5639</guid>
		<description>I need your help please. I have an assignment using actionscript3 and FlasgCS4 I have to click upon the stage to select a series of 6 waypoints. As each of the 6 waypoints is selected a movieClip (such as redX)should be placed on the stage to visually mark the positions of the way points. The x and y value of the position of each waypoint should be stored in memory, how is this done for when one clicks on these position a shape will appear this is what is confusing me. ?? Sean</description>
		<content:encoded><![CDATA[<p>I need your help please. I have an assignment using actionscript3 and FlasgCS4 I have to click upon the stage to select a series of 6 waypoints. As each of the 6 waypoints is selected a movieClip (such as redX)should be placed on the stage to visually mark the positions of the way points. The x and y value of the position of each waypoint should be stored in memory, how is this done for when one clicks on these position a shape will appear this is what is confusing me. ?? Sean</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 冬天挖煤的牛司机 &#187; Blog Archive &#187; 用flare做graph visualization</title>
		<link>http://www.zedia.net/timing-an-animation-in-actionscript-3/comment-page-1/#comment-5606</link>
		<dc:creator>冬天挖煤的牛司机 &#187; Blog Archive &#187; 用flare做graph visualization</dc:creator>
		<pubDate>Thu, 25 Nov 2010 07:57:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/timing-an-animation-in-actionscript-3/#comment-5606</guid>
		<description>[...] 这篇介绍了timing an animation，也就是怎么让一个animation发生在另一个之后。 [...]</description>
		<content:encoded><![CDATA[<p>[...] 这篇介绍了timing an animation，也就是怎么让一个animation发生在另一个之后。 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sameera Thilakasiri</title>
		<link>http://www.zedia.net/timing-an-animation-in-actionscript-3/comment-page-1/#comment-5586</link>
		<dc:creator>Sameera Thilakasiri</dc:creator>
		<pubDate>Sun, 14 Nov 2010 09:21:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/timing-an-animation-in-actionscript-3/#comment-5586</guid>
		<description>I&#039;m looking actionscript based transitions and animations, any one can drop something?</description>
		<content:encoded><![CDATA[<p>I&#8217;m looking actionscript based transitions and animations, any one can drop something?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xander</title>
		<link>http://www.zedia.net/timing-an-animation-in-actionscript-3/comment-page-1/#comment-5549</link>
		<dc:creator>xander</dc:creator>
		<pubDate>Wed, 27 Oct 2010 04:43:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/timing-an-animation-in-actionscript-3/#comment-5549</guid>
		<description>lets say I want to do what you show in the second example, but to a different object immediately following?</description>
		<content:encoded><![CDATA[<p>lets say I want to do what you show in the second example, but to a different object immediately following?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.zedia.net/timing-an-animation-in-actionscript-3/comment-page-1/#comment-5441</link>
		<dc:creator>John</dc:creator>
		<pubDate>Mon, 20 Sep 2010 03:09:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/timing-an-animation-in-actionscript-3/#comment-5441</guid>
		<description>Hi,

I am using Flash CS5 and AS3 for a project. I want to change the color of a button when it is being pressed. Actually it is changing the &quot;tint&quot; of the button. how can i do with tween class ? I do not know what is the property name i should use. I really need to use pure as 3 and one of requirement of the project is not to use outside libraries. They will examine my source codes as this is for assignment in my education institute.

what i need is

new Tween(myBtn, “???”, Strong.easeOut, ?? , ??, 0.8, true);

what are the properties i should fill above statement  in order to get a tint tween ?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am using Flash CS5 and AS3 for a project. I want to change the color of a button when it is being pressed. Actually it is changing the &#8220;tint&#8221; of the button. how can i do with tween class ? I do not know what is the property name i should use. I really need to use pure as 3 and one of requirement of the project is not to use outside libraries. They will examine my source codes as this is for assignment in my education institute.</p>
<p>what i need is</p>
<p>new Tween(myBtn, “???”, Strong.easeOut, ?? , ??, 0.8, true);</p>
<p>what are the properties i should fill above statement  in order to get a tint tween ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

