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
_______________________________________________
[email protected]
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