<?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"
	>
<channel>
	<title>Comments on: Flash Tutorial: Play a movie clip a set number of times and then stop</title>
	<atom:link href="http://mikestickney.com/wordpress/flash-tutorial-play-a-movie-clip-a-set-number-of-times-and-then-stop/feed/" rel="self" type="application/rss+xml" />
	<link>http://mikestickney.com/wordpress/flash-tutorial-play-a-movie-clip-a-set-number-of-times-and-then-stop/</link>
	<description></description>
	<pubDate>Tue, 06 Jan 2009 12:46:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Thomas</title>
		<link>http://mikestickney.com/wordpress/flash-tutorial-play-a-movie-clip-a-set-number-of-times-and-then-stop/#comment-610</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Thu, 31 Jul 2008 13:23:34 +0000</pubDate>
		<guid isPermaLink="false">http://mikestickney.com/wordpress/flash-tutorial-play-a-movie-clip-a-set-number-of-times-and-then-stop/#comment-610</guid>
		<description>Hi,

Thanks for a great tutorial. New to actionscript, and I´ve been looking for the right way to play a movie clip a certain times before moving onto the next clip. 

This explains it perfectly - helped me get past this hurdle - onwards to the next one. :grin:

cheers

T</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for a great tutorial. New to actionscript, and I´ve been looking for the right way to play a movie clip a certain times before moving onto the next clip. </p>
<p>This explains it perfectly - helped me get past this hurdle - onwards to the next one. <img src='http://mikestickney.com/wordpress/wp-includes/images/smilies/icon_biggrin.gif' alt=':grin:' class='wp-smiley' /> </p>
<p>cheers</p>
<p>T</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: T</title>
		<link>http://mikestickney.com/wordpress/flash-tutorial-play-a-movie-clip-a-set-number-of-times-and-then-stop/#comment-249</link>
		<dc:creator>T</dc:creator>
		<pubDate>Tue, 13 May 2008 15:36:08 +0000</pubDate>
		<guid isPermaLink="false">http://mikestickney.com/wordpress/flash-tutorial-play-a-movie-clip-a-set-number-of-times-and-then-stop/#comment-249</guid>
		<description>perfect execution of instruction! informative and very helpful for those of us new to code.Thanks.</description>
		<content:encoded><![CDATA[<p>perfect execution of instruction! informative and very helpful for those of us new to code.Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Linh</title>
		<link>http://mikestickney.com/wordpress/flash-tutorial-play-a-movie-clip-a-set-number-of-times-and-then-stop/#comment-211</link>
		<dc:creator>Linh</dc:creator>
		<pubDate>Sun, 04 May 2008 18:46:26 +0000</pubDate>
		<guid isPermaLink="false">http://mikestickney.com/wordpress/flash-tutorial-play-a-movie-clip-a-set-number-of-times-and-then-stop/#comment-211</guid>
		<description>wow thank you Mike, 
I'm doing my Flash assignment and your tutorial is really helpful.
Thank to your entry I can finish a very important part of my assignment, which is somehow similar to this :P 
Keep on posting such great works ^^</description>
		<content:encoded><![CDATA[<p>wow thank you Mike,<br />
I&#8217;m doing my Flash assignment and your tutorial is really helpful.<br />
Thank to your entry I can finish a very important part of my assignment, which is somehow similar to this <img src='http://mikestickney.com/wordpress/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /><br />
Keep on posting such great works ^^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mejia</title>
		<link>http://mikestickney.com/wordpress/flash-tutorial-play-a-movie-clip-a-set-number-of-times-and-then-stop/#comment-202</link>
		<dc:creator>Mejia</dc:creator>
		<pubDate>Wed, 30 Apr 2008 01:46:59 +0000</pubDate>
		<guid isPermaLink="false">http://mikestickney.com/wordpress/flash-tutorial-play-a-movie-clip-a-set-number-of-times-and-then-stop/#comment-202</guid>
		<description>Hi Mike,

I was surfing the web for flash tutorials and I found yours. I would like to thank you for having the time to replay to people that have questions about your code or want to do some changes. I think that's great because most people don't do that. 

thanks again, keep the good work..</description>
		<content:encoded><![CDATA[<p>Hi Mike,</p>
<p>I was surfing the web for flash tutorials and I found yours. I would like to thank you for having the time to replay to people that have questions about your code or want to do some changes. I think that&#8217;s great because most people don&#8217;t do that. </p>
<p>thanks again, keep the good work..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://mikestickney.com/wordpress/flash-tutorial-play-a-movie-clip-a-set-number-of-times-and-then-stop/#comment-107</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Wed, 16 Apr 2008 12:47:18 +0000</pubDate>
		<guid isPermaLink="false">http://mikestickney.com/wordpress/flash-tutorial-play-a-movie-clip-a-set-number-of-times-and-then-stop/#comment-107</guid>
		<description>Hi Christer,

What you want to do is kind of similar to what's happening here, but with a little modification.  I'll take a look at it later today and see if I can explain it for you fully, but a quick heads up is that instead of using this code on the enter frame,

    _root.counter += 1;

you would apply it to your button similar to this:

   on(release) {
   _root.counter +=1;
}

Then, you would use the following script: (notices I changed the first if to be less than or equal to 3, the number of times you want the button to be clicked).

    if (_root.counter &lt;= 3) {
    _root.mc_ball.stop();
    }

    else {
    _root.mc_ball.gotoAndPlay(”begin”);
    }

This was just a quick look at it, so I haven't thoroughly tested it yet, but hopefully it gets you started. Let me know if you figure it out, but I'll get back to you with a more thorough explanation.

Thanks for reading!

- Mike</description>
		<content:encoded><![CDATA[<p>Hi Christer,</p>
<p>What you want to do is kind of similar to what&#8217;s happening here, but with a little modification.  I&#8217;ll take a look at it later today and see if I can explain it for you fully, but a quick heads up is that instead of using this code on the enter frame,</p>
<p>    _root.counter += 1;</p>
<p>you would apply it to your button similar to this:</p>
<p>   on(release) {<br />
   _root.counter +=1;<br />
}</p>
<p>Then, you would use the following script: (notices I changed the first if to be less than or equal to 3, the number of times you want the button to be clicked).</p>
<p>    if (_root.counter <= 3) {<br />
    _root.mc_ball.stop();<br />
    }</p>
<p>    else {<br />
    _root.mc_ball.gotoAndPlay(”begin”);<br />
    }</p>
<p>This was just a quick look at it, so I haven&#8217;t thoroughly tested it yet, but hopefully it gets you started. Let me know if you figure it out, but I&#8217;ll get back to you with a more thorough explanation.</p>
<p>Thanks for reading!</p>
<p>- Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christer</title>
		<link>http://mikestickney.com/wordpress/flash-tutorial-play-a-movie-clip-a-set-number-of-times-and-then-stop/#comment-105</link>
		<dc:creator>Christer</dc:creator>
		<pubDate>Wed, 16 Apr 2008 08:19:36 +0000</pubDate>
		<guid isPermaLink="false">http://mikestickney.com/wordpress/flash-tutorial-play-a-movie-clip-a-set-number-of-times-and-then-stop/#comment-105</guid>
		<description>Hi!
just read your tutorial! nice 
But I wonder if you can help me in some matter ?
I want to be able to use a button, and the button wont work before the third time I press it.. For example you press on a ball, and nothing happens. You push it a second time and nothing happens. Yu push it a third time and i turns green and run away  any help?</description>
		<content:encoded><![CDATA[<p>Hi!<br />
just read your tutorial! nice<br />
But I wonder if you can help me in some matter ?<br />
I want to be able to use a button, and the button wont work before the third time I press it.. For example you press on a ball, and nothing happens. You push it a second time and nothing happens. Yu push it a third time and i turns green and run away  any help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerry Galino</title>
		<link>http://mikestickney.com/wordpress/flash-tutorial-play-a-movie-clip-a-set-number-of-times-and-then-stop/#comment-73</link>
		<dc:creator>Jerry Galino</dc:creator>
		<pubDate>Fri, 11 Apr 2008 21:07:27 +0000</pubDate>
		<guid isPermaLink="false">http://mikestickney.com/wordpress/flash-tutorial-play-a-movie-clip-a-set-number-of-times-and-then-stop/#comment-73</guid>
		<description>I found your site on faves.com bookmarking site.. I like it ..gave it a fave for you..ill be checking back later</description>
		<content:encoded><![CDATA[<p>I found your site on faves.com bookmarking site.. I like it ..gave it a fave for you..ill be checking back later</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://mikestickney.com/wordpress/flash-tutorial-play-a-movie-clip-a-set-number-of-times-and-then-stop/#comment-53</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Mon, 07 Apr 2008 17:50:43 +0000</pubDate>
		<guid isPermaLink="false">http://mikestickney.com/wordpress/flash-tutorial-play-a-movie-clip-a-set-number-of-times-and-then-stop/#comment-53</guid>
		<description>Hey Paul,

Sorry that this isn't working for you... If you can email me the file: contact@spitshine-design.com, I can take a look at it for you, or you can try posting the AS code here and I'll see if I can debug it...

- Mike</description>
		<content:encoded><![CDATA[<p>Hey Paul,</p>
<p>Sorry that this isn&#8217;t working for you&#8230; If you can email me the file: <a href="mailto:contact@spitshine-design.com">contact@spitshine-design.com</a>, I can take a look at it for you, or you can try posting the AS code here and I&#8217;ll see if I can debug it&#8230;</p>
<p>- Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://mikestickney.com/wordpress/flash-tutorial-play-a-movie-clip-a-set-number-of-times-and-then-stop/#comment-52</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Mon, 07 Apr 2008 17:06:10 +0000</pubDate>
		<guid isPermaLink="false">http://mikestickney.com/wordpress/flash-tutorial-play-a-movie-clip-a-set-number-of-times-and-then-stop/#comment-52</guid>
		<description>Exactly what I was looking for but unfortunately it doesn't work for me. When I preview the animation in flash, the error pannel opens saying "1120: Access of undefined property _root". However the movieclip targeted doesn't stop either (this is what I want it to do at this certain moment). 
:sad:</description>
		<content:encoded><![CDATA[<p>Exactly what I was looking for but unfortunately it doesn&#8217;t work for me. When I preview the animation in flash, the error pannel opens saying &#8220;1120: Access of undefined property _root&#8221;. However the movieclip targeted doesn&#8217;t stop either (this is what I want it to do at this certain moment).<br />
 <img src='http://mikestickney.com/wordpress/wp-includes/images/smilies/icon_sad.gif' alt=':sad:' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
</channel>
</rss>
