

































<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: How to Pause and Loop the Timeline in Flash CS3 (AS3)</title>
	<link>http://www.quip.net/blog/2007/flash/how-to-pause-and-loop-timeline-as3</link>
	<description>Luck is the residue of good design.</description>
	<pubDate>Tue, 07 Feb 2012 20:09:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.2</generator>

	<item>
		<title>by: Mike W</title>
		<link>http://www.quip.net/blog/2007/flash/how-to-pause-and-loop-timeline-as3#comment-404342</link>
		<pubDate>Tue, 21 Jul 2009 07:55:54 +0000</pubDate>
		<guid>http://www.quip.net/blog/2007/flash/how-to-pause-and-loop-timeline-as3#comment-404342</guid>
					<description>Morning David

Development on the training app continues steadily. Now for a query concerning implementing delays in AS3. There is copious information about the TIMER and pauing the timeline. This is not what I'm looking for. I'm trying to build an animation of a directional &quot;radio wave&quot; being propagated from a point. The &quot;wave&quot; must comprise of an attenuating arc that starts off with a fixed centre point on the left but an increasing radius and arc length to the right. The arc must be displayed on the screen (addChild), a slight delay and then removed (removeChild). There must obviously also be a delay between each successive &quot;wave&quot; as it attenuates out across the screen. I can get circles to do this - concentric circles expanding out from  fixed point but am having problems with doing the same with an arc. All my attempts of adding a delay in the code and then remving the displayed circle 'falls through' so you never actually see anything displayed. How can one just suspend or delay execution within ActionScript 3 itself in the coding?
e.g.

Set Up Arc's Parameters
Display Arc
Wait For 10ms
Remove Displayed Arc
Wait For 400ms
Bump Arc's Parameters (+radius +arclength)


Thanks as always
Regards
Mike</description>
		<content:encoded><![CDATA[<p>Morning David</p>
<p>Development on the training app continues steadily. Now for a query concerning implementing delays in AS3. There is copious information about the TIMER and pauing the timeline. This is not what I&#8217;m looking for. I&#8217;m trying to build an animation of a directional &#8220;radio wave&#8221; being propagated from a point. The &#8220;wave&#8221; must comprise of an attenuating arc that starts off with a fixed centre point on the left but an increasing radius and arc length to the right. The arc must be displayed on the screen (addChild), a slight delay and then removed (removeChild). There must obviously also be a delay between each successive &#8220;wave&#8221; as it attenuates out across the screen. I can get circles to do this - concentric circles expanding out from  fixed point but am having problems with doing the same with an arc. All my attempts of adding a delay in the code and then remving the displayed circle &#8216;falls through&#8217; so you never actually see anything displayed. How can one just suspend or delay execution within ActionScript 3 itself in the coding?<br />
e.g.</p>
<p>Set Up Arc&#8217;s Parameters<br />
Display Arc<br />
Wait For 10ms<br />
Remove Displayed Arc<br />
Wait For 400ms<br />
Bump Arc&#8217;s Parameters (+radius +arclength)</p>
<p>Thanks as always<br />
Regards<br />
Mike
</p>
]]></content:encoded>
				</item>
</channel>
</rss>

