home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 112
/
jogo-disk-112.iso
/
Games
/
crazy_cars.swf
/
scripts
/
DefineSprite_58
/
frame_1
/
DoAction.as
Wrap
Text File
|
2010-07-14
|
197b
|
8 lines
oldY = _parent._y;
startY = _parent._Y;
accel = _root.accel;
ranCar = random(7) + 1;
_parent.gotoAndPlay(ranCar);
speed = accel + (Math.random() * 50 - 25);
_parent.gotoAndStop(ranCar) + 1;