tengo un problema, requiero hacer una animacion con billetes cayendo, estuve revisando dentro de este foro, algun tutorial o duda de otro usuario que respondiera a mis necesidades y no encontre.
tengo el siguiente codigo para hacer que unos billetitos caigan (como del cielo) aletoraiamente, mi problema esta en que el siguie actionscript, solo se puede publicar en player 6 y yo lo ocupo para el player 9 en actionscript 2
onClipEvent (load)
{
this.gotoAndStop(random(10));
this._alpha = random(60) + 60;
this._x = random(350) - random(350);
this._y = random(150) - 150;
this._rotation = random(360);
scale = random(70);
this._xscale = scale;
this._yscale = scale;
Speed = random(40) / 10 + 1;
Rotation = random(5) - random(5) + 5.000000E-001;
Direction = random(5) - random(5);
}
onClipEvent (enterFrame)
{
this._y = this._y + Speed;
this._x = this._x - Direction;
this._rotation = this._rotation - Rotation;
if (this._y > 300)
{
this._y = -150;
this._x = random(400) - 200;
Speed = random(40) / 10 + 1;
Rotation = random(5) - random(5) + 5.000000E-001;
Direction = random(3) - random(3);
} // end if
}
espero alguien me pueda ayudar.
gracias