onSelfEvent (load)
{
Vy0 = 0;
grav = .6;
startX=this._x;
startY=this._y;
}
onSelfEvent (enterFrame)
{
this._y += Vy0;
this._x += 12;
Vy0 += grav;
if (this._y>_root.floor._y) {
Vy0 *= -1;
}
if (this._x>560) {
this._x=startX;
this._y=startY;
Vy0 = 0;
grav = .6;
}
}