Could this be what you need: http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhel p.htm?context=LiveDocs_Parts&file=00001717.html
The first comment by Francis at the bottom... Wouter -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Brunswick Sent: Tuesday, June 13, 2006 3:45 PM To: 'Flashcoders mailing list' Subject: [Flashcoders] timer to advance Hello List, I am trying to accomplish a timer that will advance to a frame once a set time has been reached. Of course it doesn't work any ideas Here is the code onClipEvent (enterFrame) { if (_root.delay) { if (Math.floor(getTimer()/1000) == _root.lastTime+1) { _root.delay = false; } } else if (Math.floor(getTimer()/1000) == _root.lastTime+_root.wait) { _root.lastTime = Math.floor(getTimer()/1000); _root.delay = true; // custom actions begin _root.count = _root.count+1; if (_root.count <= 20) { gotoAndStop(2); } } } David Brunswick Multimedia Developer/OLP Administrator FedEx Customer Information Services Customer Service Organizational Learning 901-434-6605 _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com