ErikL
01-21-2003, 12:14 PM
I am working on a machine emulator in Flash for training. The button panel is all decked out in flash, and through ActionScripting, the buttons all work as they are set to on the shovels....exept.
Clicking a button causes the indicator light to light to quickly. On a shovel weighting thousands of tons, this process takes time. On the flash presentation it is instantaneous.
Is there any easy way to delay a statement...for example:
BTNRUN.onRelease = function(){
//Turn on the RUN indicator lamp
//.....Wait 3 seconds?
mvcRun.nextFrame();
RunOn = true;
Thanks,
Clicking a button causes the indicator light to light to quickly. On a shovel weighting thousands of tons, this process takes time. On the flash presentation it is instantaneous.
Is there any easy way to delay a statement...for example:
BTNRUN.onRelease = function(){
//Turn on the RUN indicator lamp
//.....Wait 3 seconds?
mvcRun.nextFrame();
RunOn = true;
Thanks,