<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Making A Timer With setInterval();</title>
	<link>http://www.awestyproductions.com/tutorials/flash-tutorials/making-a-timer-with-setinterval/</link>
	<description></description>
	<pubDate>Fri, 10 Feb 2012 19:21:10 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Christo</title>
		<link>http://www.awestyproductions.com/tutorials/flash-tutorials/making-a-timer-with-setinterval/#comment-203173</link>
		<dc:creator>Christo</dc:creator>
		<pubDate>Mon, 22 Aug 2011 23:19:00 +0000</pubDate>
		<guid>http://www.awestyproductions.com/tutorials/flash-tutorials/making-a-timer-with-setinterval/#comment-203173</guid>
		<description>Honestly!
Bunch of Newbs.
Learn Actionscript 3 already!
Heres an easy way...

var count = 100;
setInterval(decrease,1000);
function decrease(){
   if(count &gt; 0){
   --count;//should be 2 - symbols here, but crappy commenting feature on this site removes one of the minus symbols. (check you have 2 of them before count)
   trace(count);//or write to textbox etc
   }
}</description>
		<content:encoded><![CDATA[<p>Honestly!<br />
Bunch of Newbs.<br />
Learn Actionscript 3 already!<br />
Heres an easy way&#8230;</p>
<p>var count = 100;<br />
setInterval(decrease,1000);<br />
function decrease(){<br />
   if(count > 0){<br />
   &#8211;count;//should be 2 - symbols here, but crappy commenting feature on this site removes one of the minus symbols. (check you have 2 of them before count)<br />
   trace(count);//or write to textbox etc<br />
   }<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roman</title>
		<link>http://www.awestyproductions.com/tutorials/flash-tutorials/making-a-timer-with-setinterval/#comment-78493</link>
		<dc:creator>Roman</dc:creator>
		<pubDate>Thu, 10 Jun 2010 21:30:16 +0000</pubDate>
		<guid>http://www.awestyproductions.com/tutorials/flash-tutorials/making-a-timer-with-setinterval/#comment-78493</guid>
		<description>Ya but it says that there is no Method with the name 'Max'



pls help me</description>
		<content:encoded><![CDATA[<p>Ya but it says that there is no Method with the name &#8216;Max&#8217;</p>
<p>pls help me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fabled Face</title>
		<link>http://www.awestyproductions.com/tutorials/flash-tutorials/making-a-timer-with-setinterval/#comment-44227</link>
		<dc:creator>Fabled Face</dc:creator>
		<pubDate>Mon, 15 Feb 2010 22:36:25 +0000</pubDate>
		<guid>http://www.awestyproductions.com/tutorials/flash-tutorials/making-a-timer-with-setinterval/#comment-44227</guid>
		<description>Hey. First off I thought I'd tell you that I've been learning from your tutorials for the past couple of weeks, and so I should say thank you. 

I have run into a few errors in scripts from your tutorials, (I can't remember where) but they have all been easy to fix now that I know most of the meanings, but this time I found an error that I can't figure out. I see that you were drowned in questions and concerns from people on this tutorial, but I couldn't find anything to help me. 

My problem is:
**Error** Scene=Scene 1, layer=Layer 1, frame=49:Line 5: Syntax error.
     _root.timer —;

**Error** Scene=Scene 1, layer=Layer 1, frame=49:Line 6: ')' or ',' expected
     }, 1000);

Total ActionScript Errors: 2 	 Reported Errors: 2

Maybe you can help? I don't know how your site works with you, and the last comment on here is from last year, but if you do happen to still be around please help.</description>
		<content:encoded><![CDATA[<p>Hey. First off I thought I&#8217;d tell you that I&#8217;ve been learning from your tutorials for the past couple of weeks, and so I should say thank you. </p>
<p>I have run into a few errors in scripts from your tutorials, (I can&#8217;t remember where) but they have all been easy to fix now that I know most of the meanings, but this time I found an error that I can&#8217;t figure out. I see that you were drowned in questions and concerns from people on this tutorial, but I couldn&#8217;t find anything to help me. </p>
<p>My problem is:<br />
**Error** Scene=Scene 1, layer=Layer 1, frame=49:Line 5: Syntax error.<br />
     _root.timer —;</p>
<p>**Error** Scene=Scene 1, layer=Layer 1, frame=49:Line 6: &#8216;)&#8217; or &#8216;,&#8217; expected<br />
     }, 1000);</p>
<p>Total ActionScript Errors: 2 	 Reported Errors: 2</p>
<p>Maybe you can help? I don&#8217;t know how your site works with you, and the last comment on here is from last year, but if you do happen to still be around please help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julian</title>
		<link>http://www.awestyproductions.com/tutorials/flash-tutorials/making-a-timer-with-setinterval/#comment-36068</link>
		<dc:creator>Julian</dc:creator>
		<pubDate>Tue, 22 Sep 2009 10:02:35 +0000</pubDate>
		<guid>http://www.awestyproductions.com/tutorials/flash-tutorials/making-a-timer-with-setinterval/#comment-36068</guid>
		<description>by the way make sure your using minus not hyphens</description>
		<content:encoded><![CDATA[<p>by the way make sure your using minus not hyphens</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julian</title>
		<link>http://www.awestyproductions.com/tutorials/flash-tutorials/making-a-timer-with-setinterval/#comment-35417</link>
		<dc:creator>Julian</dc:creator>
		<pubDate>Tue, 08 Sep 2009 10:42:32 +0000</pubDate>
		<guid>http://www.awestyproductions.com/tutorials/flash-tutorials/making-a-timer-with-setinterval/#comment-35417</guid>
		<description>stop();
_root.timer = 100;
clearInterval(id);
id = setInterval(function () {
_root.timer -- ;
}, 1000);


this is the final code if u didnt add the hyphen urself</description>
		<content:encoded><![CDATA[<p>stop();<br />
_root.timer = 100;<br />
clearInterval(id);<br />
id = setInterval(function () {<br />
_root.timer &#8212; ;<br />
}, 1000);</p>
<p>this is the final code if u didnt add the hyphen urself</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sathya</title>
		<link>http://www.awestyproductions.com/tutorials/flash-tutorials/making-a-timer-with-setinterval/#comment-30752</link>
		<dc:creator>sathya</dc:creator>
		<pubDate>Tue, 02 Jun 2009 08:14:40 +0000</pubDate>
		<guid>http://www.awestyproductions.com/tutorials/flash-tutorials/making-a-timer-with-setinterval/#comment-30752</guid>
		<description>timer.text = 100;
function time() {
	timer.text = timer.text-1;
}
setInterval(time, 10);</description>
		<content:encoded><![CDATA[<p>timer.text = 100;<br />
function time() {<br />
	timer.text = timer.text-1;<br />
}<br />
setInterval(time, 10);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Liam</title>
		<link>http://www.awestyproductions.com/tutorials/flash-tutorials/making-a-timer-with-setinterval/#comment-25522</link>
		<dc:creator>Liam</dc:creator>
		<pubDate>Mon, 12 Jan 2009 03:39:26 +0000</pubDate>
		<guid>http://www.awestyproductions.com/tutorials/flash-tutorials/making-a-timer-with-setinterval/#comment-25522</guid>
		<description>How'd you fix it?</description>
		<content:encoded><![CDATA[<p>How&#8217;d you fix it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hello ☺</title>
		<link>http://www.awestyproductions.com/tutorials/flash-tutorials/making-a-timer-with-setinterval/#comment-22053</link>
		<dc:creator>hello ☺</dc:creator>
		<pubDate>Sun, 31 Aug 2008 09:43:30 +0000</pubDate>
		<guid>http://www.awestyproductions.com/tutorials/flash-tutorials/making-a-timer-with-setinterval/#comment-22053</guid>
		<description>I have fixed this problem ☺ !</description>
		<content:encoded><![CDATA[<p>I have fixed this problem ☺ !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hello ☺</title>
		<link>http://www.awestyproductions.com/tutorials/flash-tutorials/making-a-timer-with-setinterval/#comment-22026</link>
		<dc:creator>hello ☺</dc:creator>
		<pubDate>Sat, 30 Aug 2008 13:39:57 +0000</pubDate>
		<guid>http://www.awestyproductions.com/tutorials/flash-tutorials/making-a-timer-with-setinterval/#comment-22026</guid>
		<description>Im trying to make this...
if the timer (dynamic text)
goes to 0 go to another page
but this doesn't work...
here's the code:

onClipEvent (enterFrame) {
    if(_root.timer&lt;0) {
      gotoAndStop(2);
}
}

Please help me!
Thnx</description>
		<content:encoded><![CDATA[<p>Im trying to make this&#8230;<br />
if the timer (dynamic text)<br />
goes to 0 go to another page<br />
but this doesn&#8217;t work&#8230;<br />
here&#8217;s the code:</p>
<p>onClipEvent (enterFrame) {<br />
    if(_root.timer&lt;0) {<br />
      gotoAndStop(2);<br />
}<br />
}</p>
<p>Please help me!<br />
Thnx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rudydbooty</title>
		<link>http://www.awestyproductions.com/tutorials/flash-tutorials/making-a-timer-with-setinterval/#comment-20737</link>
		<dc:creator>rudydbooty</dc:creator>
		<pubDate>Fri, 18 Jul 2008 20:31:41 +0000</pubDate>
		<guid>http://www.awestyproductions.com/tutorials/flash-tutorials/making-a-timer-with-setinterval/#comment-20737</guid>
		<description>wow sweet tutorial this saved me so much time!</description>
		<content:encoded><![CDATA[<p>wow sweet tutorial this saved me so much time!</p>
]]></content:encoded>
	</item>
</channel>
</rss>








<!-- analytics977 --> 
