Car driving game

hi…

im just having a mess around with this script i found on flashkit.com for a driving car game, heres what i got…

http://www.band-central.net/car.htm

you see the line? well i was just wondering how i’d be able to keep a count of the amount of laps done in a dynamic text box then when the number reaches 10 the car just slows down to a stand still and you lose control. then it just goes onto the next frame, i’d imagine its just a variation on the way you’d keep score i just can’t figure out how to change it ok…hope ssomeone can help thanks…

if you’d like to take a look at the .fla file, click here to download it :

http://www.band-central.net/driving.fla

i have one more question…

what would be the best way to get a thing like 3, 2, 1…GO!, then the controls activate and how would i do it?

thanks

Probably the easiest way is to change a variable (e.g. controlOn = false) to true at the end of a clip that includes “3, 2, 1, … GO”. You then also need an if statement that enables the control script once this condition is changed e.g.
if (!controlOn) {
// if controlOn is false enable controls
your existing A/S for car control here;
};