<?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 Loop a Movie Three Times (AS2)</title>
	<link>http://www.quip.net/blog/2006/flash/how-to-loop-three-times</link>
	<description>Luck is the residue of good design.</description>
	<pubDate>Wed, 19 Nov 2008 04:19:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.2</generator>

	<item>
		<title>by: John</title>
		<link>http://www.quip.net/blog/2006/flash/how-to-loop-three-times#comment-293966</link>
		<pubDate>Wed, 29 Oct 2008 18:12:10 +0000</pubDate>
		<guid>http://www.quip.net/blog/2006/flash/how-to-loop-three-times#comment-293966</guid>
					<description>Thank you very much. One might say you are a godsend.</description>
		<content:encoded><![CDATA[<p>Thank you very much. One might say you are a godsend.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: David Stiller</title>
		<link>http://www.quip.net/blog/2006/flash/how-to-loop-three-times#comment-293940</link>
		<pubDate>Wed, 29 Oct 2008 14:09:33 +0000</pubDate>
		<guid>http://www.quip.net/blog/2006/flash/how-to-loop-three-times#comment-293940</guid>
					<description>John,

It looks like you might want to send your playhead back to some frame other than frame 1 &amp;#8212; to whatever makes sense &lt;em&gt;after&lt;/em&gt; the very beginning fade-from-black.

Something like this might work:

&lt;pre&gt;&lt;code&gt;if (!loopCount) {
  var loopCount:Number = 0;
}
loopCount++;
if (loopCount &lt;= 3) {
  this.gotoAndPlay(80);
} else {
  this.stop();
}&lt;/code&gt;&lt;/pre&gt;

... where 80 is hypothetically a frame that fits in terms of looping but appears after the fade in.  Obviously, you'll need to find whatever number applies in your case, and you may  need to tweak the animation to loop cleanly.

Does that make sense?</description>
		<content:encoded><![CDATA[<p>John,</p>
<p>It looks like you might want to send your playhead back to some frame other than frame 1 &mdash; to whatever makes sense <em>after</em> the very beginning fade-from-black.</p>
<p>Something like this might work:</p>
<pre><code>if (!loopCount) {
  var loopCount:Number = 0;
}
loopCount++;
if (loopCount <= 3) {
  this.gotoAndPlay(80);
} else {
  this.stop();
}</code></pre>
<p>&#8230; where 80 is hypothetically a frame that fits in terms of looping but appears after the fade in.  Obviously, you&#8217;ll need to find whatever number applies in your case, and you may  need to tweak the animation to loop cleanly.</p>
<p>Does that make sense?
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: John</title>
		<link>http://www.quip.net/blog/2006/flash/how-to-loop-three-times#comment-293909</link>
		<pubDate>Wed, 29 Oct 2008 06:19:33 +0000</pubDate>
		<guid>http://www.quip.net/blog/2006/flash/how-to-loop-three-times#comment-293909</guid>
					<description>Hi David, looks like your the man to talk to..

I was able to make my banner loop a few seconds into the animation, but there is some type of delay where it blackscreens between takes. You can check it out on the enterance to my site.

Thanks for your time.</description>
		<content:encoded><![CDATA[<p>Hi David, looks like your the man to talk to..</p>
<p>I was able to make my banner loop a few seconds into the animation, but there is some type of delay where it blackscreens between takes. You can check it out on the enterance to my site.</p>
<p>Thanks for your time.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: David Stiller</title>
		<link>http://www.quip.net/blog/2006/flash/how-to-loop-three-times#comment-293656</link>
		<pubDate>Mon, 27 Oct 2008 14:26:35 +0000</pubDate>
		<guid>http://www.quip.net/blog/2006/flash/how-to-loop-three-times#comment-293656</guid>
					<description>&lt;strong&gt;To Jose ...&lt;/strong&gt;

Cool, thanks!

&lt;strong&gt;To Mike ...&lt;/strong&gt;

That's high praise!  Probably a bit too high, but thanks in any case.  :)  Glad I could help.</description>
		<content:encoded><![CDATA[<p><strong>To Jose &#8230;</strong></p>
<p>Cool, thanks!</p>
<p><strong>To Mike &#8230;</strong></p>
<p>That&#8217;s high praise!  Probably a bit too high, but thanks in any case.  <img src='http://www.quip.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   Glad I could help.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Mike C.</title>
		<link>http://www.quip.net/blog/2006/flash/how-to-loop-three-times#comment-293380</link>
		<pubDate>Mon, 27 Oct 2008 06:23:53 +0000</pubDate>
		<guid>http://www.quip.net/blog/2006/flash/how-to-loop-three-times#comment-293380</guid>
					<description>David, you are my hero!!!

I can't tell you how much you've helped me.  Thanks again!!

There's a special place in heaven for you!</description>
		<content:encoded><![CDATA[<p>David, you are my hero!!!</p>
<p>I can&#8217;t tell you how much you&#8217;ve helped me.  Thanks again!!</p>
<p>There&#8217;s a special place in heaven for you!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Jose</title>
		<link>http://www.quip.net/blog/2006/flash/how-to-loop-three-times#comment-274422</link>
		<pubDate>Wed, 17 Sep 2008 20:18:31 +0000</pubDate>
		<guid>http://www.quip.net/blog/2006/flash/how-to-loop-three-times#comment-274422</guid>
					<description>Just bookmarked this site. The world needs more simple solutions like this.</description>
		<content:encoded><![CDATA[<p>Just bookmarked this site. The world needs more simple solutions like this.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: David Stiller</title>
		<link>http://www.quip.net/blog/2006/flash/how-to-loop-three-times#comment-132907</link>
		<pubDate>Tue, 12 Feb 2008 14:14:41 +0000</pubDate>
		<guid>http://www.quip.net/blog/2006/flash/how-to-loop-three-times#comment-132907</guid>
					<description>Veronica,

Yay!  Glad to help.  :)</description>
		<content:encoded><![CDATA[<p>Veronica,</p>
<p>Yay!  Glad to help.  <img src='http://www.quip.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Veronica</title>
		<link>http://www.quip.net/blog/2006/flash/how-to-loop-three-times#comment-132808</link>
		<pubDate>Tue, 12 Feb 2008 09:55:38 +0000</pubDate>
		<guid>http://www.quip.net/blog/2006/flash/how-to-loop-three-times#comment-132808</guid>
					<description>You saved my night! Thank you!!!!</description>
		<content:encoded><![CDATA[<p>You saved my night! Thank you!!!!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: David Stiller</title>
		<link>http://www.quip.net/blog/2006/flash/how-to-loop-three-times#comment-128655</link>
		<pubDate>Mon, 04 Feb 2008 14:48:07 +0000</pubDate>
		<guid>http://www.quip.net/blog/2006/flash/how-to-loop-three-times#comment-128655</guid>
					<description>DaveC,

Sweet!</description>
		<content:encoded><![CDATA[<p>DaveC,</p>
<p>Sweet!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: DaveC</title>
		<link>http://www.quip.net/blog/2006/flash/how-to-loop-three-times#comment-128561</link>
		<pubDate>Mon, 04 Feb 2008 11:29:11 +0000</pubDate>
		<guid>http://www.quip.net/blog/2006/flash/how-to-loop-three-times#comment-128561</guid>
					<description>David

Bacon: Saved.

Many thanks.</description>
		<content:encoded><![CDATA[<p>David</p>
<p>Bacon: Saved.</p>
<p>Many thanks.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
