
03/10/2006, 20:28
|
 | | | Fecha de Ingreso: abril-2004 Ubicación: San José, Costa Rica
Mensajes: 384
Antigüedad: 20 años, 11 meses Puntos: 2 | |
Trata con este código:
Código:
onClipEvent (enterFrame) {
if (_root.vel == undefined) {
_root.vel=5
}
this._x += _root.vel;
if (this.hitTest(this._parent.block)) {
this._x -= 20;
_root.vel=_root.vel*-1
}
}
__________________ ..::BERNETHE::..
Última edición por bernethe; 03/10/2006 a las 20:29
Razón: error en el código
|