<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Comments on snippet: 'AS3: Basic Timer example'</title>
<link>http://snipplr.com</link>
<description>Snipplr comments feed'</description>
<language>en-us</language>
<pubDate>Tue, 14 Feb 2012 10:14:06 GMT</pubDate>
<item>
<title>sidneydekoning said on 9/27/10</title>
<link>http://snipplr.com/view/4563/as3-basic-timer-example/</link>
<description><![CDATA[ @bengoevaerts - you can call Timer.reset() as mentioned here http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/utils/Timer.html

Good luck, 

Sidney de Koning ]]></description>
<pubDate>Mon, 27 Sep 2010 23:44:45 GMT</pubDate>
<guid>http://snipplr.com/view/4563/as3-basic-timer-example/</guid>
</item>
<item>
<title>IsoJon said on 8/11/10</title>
<link>http://snipplr.com/view/4563/as3-basic-timer-example/</link>
<description><![CDATA[ always good to have a place to copy and paste from, thanks! ]]></description>
<pubDate>Wed, 11 Aug 2010 03:34:21 GMT</pubDate>
<guid>http://snipplr.com/view/4563/as3-basic-timer-example/</guid>
</item>
<item>
<title>chrisaiv said on 7/4/10</title>
<link>http://snipplr.com/view/4563/as3-basic-timer-example/</link>
<description><![CDATA[ Very cool!  ccpotter, thanks for sharing. ]]></description>
<pubDate>Sun, 04 Jul 2010 01:26:05 GMT</pubDate>
<guid>http://snipplr.com/view/4563/as3-basic-timer-example/</guid>
</item>
<item>
<title>ccpotter said on 5/19/10</title>
<link>http://snipplr.com/view/4563/as3-basic-timer-example/</link>
<description><![CDATA[ you can establish a variable separate from the currentCount that increases by one each time the counter blah function is hit.

var timer:Timer = new Timer(1000, 2);
var currentIndex:Number = 0;
    timer.addEventListener(TimerEvent.TIMER, blah);
    timer.start();
 
function blah(e:TimerEvent):void{
     currentIndex++;
    if(currentIndex >= 10){
          currentIndex = 0;
    }
     trace("Times Fired: " + e.currentTarget.currentCount);
     trace("Time Delayed: " + e.currentTarget.delay);
} ]]></description>
<pubDate>Wed, 19 May 2010 09:19:48 GMT</pubDate>
<guid>http://snipplr.com/view/4563/as3-basic-timer-example/</guid>
</item>
<item>
<title>chrisaiv said on 2/23/10</title>
<link>http://snipplr.com/view/4563/as3-basic-timer-example/</link>
<description><![CDATA[ What are you trying to accomplish?  Maybe there's another way to solve your problem? ]]></description>
<pubDate>Tue, 23 Feb 2010 13:03:06 GMT</pubDate>
<guid>http://snipplr.com/view/4563/as3-basic-timer-example/</guid>
</item>
<item>
<title>bengoevaerts said on 2/18/10</title>
<link>http://snipplr.com/view/4563/as3-basic-timer-example/</link>
<description><![CDATA[ When e.currentTarget.currentCount = 1 i would like to reset it again to 0. How can i do this?
I tried e.currentTarget.currentCount.reset(); and some kind like that ... but it won't work, any ideas? ]]></description>
<pubDate>Thu, 18 Feb 2010 06:59:45 GMT</pubDate>
<guid>http://snipplr.com/view/4563/as3-basic-timer-example/</guid>
</item>
</channel>
</rss>
