game membuat perlombaan (apa aja)
*contoh lomba partai
Scriftnya untuk tombol start
on(release){
pst1.onEnterFrame = function()
{
this._x = this._x + random (10) ;
};
pst2.onEnterFrame = function ()
{
this._x = this._x + random (10) ;
};
pst3.onEnterFrame = function ()
{
this._x = this._x + random (10) ;
}
}
**untuk random, anda bisa mengisi angka yang anda kehendaki.
scrift untuk tombol reset
on (press) {
pst1.onEnterFrame = function ()
{
this._x = 50
};
pst2.onEnterFrame = function ()
{
this._x = 50
pst3.onEnterFrame = function ()
{
this._x = 50
};
}
}
hasilnya
.bmp)