Hello!
I will write down the code I have written and then ask some questions on the specific code…
…
if (tSpeed > (_legalSpeed +10))
{
this.gotoAndPlay(1);
}
…
When the speed exceed 10 km/h of the current speedlimit, the digital speedometer is supposed to start blinking - a movieclip that starts at frame 1. However, if I drive in 120 on a 90 way, the flash application constantly goes through the condition “if (tSpeed > (_legalSpeed +10))” which bring the moviclip to stay on frame 1 all the time, since the code tells the application to gotoAndPlay(1). That is, the application will never play the entire movieclip since “tSpeed” is beeing constantly updated. Can you see my problem and please tell me what to do? I would appreciate to see your code-solution!!!
//Oskar