I need a AS for a car finish line so when the car collides it stops a stopwatch MC.
Thanks
Printable View
I need a AS for a car finish line so when the car collides it stops a stopwatch MC.
Thanks
Hey,
Well make the finish line a movieclip first of all , and give your car an instance name of 'car' or something
Now on the finishline place the following code:
onClipEvent(enterFrame){
if (this.hitTest(_root.car)){
// Stop time
}
}
coooooooooool thanks, i will check it out!