I am creating a timer using a dynamic text box, is there a way to tell my timer to plus 1 every second with out having to refer the frame rate?
i was using the following untill i realised it was affected by frame rate...
on the frame one i have
and in a empty MC i have the following controlsCode:_root.mils = 0; _root.secs = 0;
Can i do the following without having to worry about the frame rateCode:onClipEvent (enterFrame) { _root.sec.text = _root.secs; _toot.mil.text = _root.mils } onClipEvent (enterFrame) { _root.mils+= 1; } onClipEvent (enterFrame) { if (_root.mils== 10) { _root.mils= 0; _root.secs += 1; } }




Reply With Quote