mover MoviClip
Publicado por Itziar (3 intervenciones) el 15/12/2005 12:05:38
Desde un swf cargo otro swf (este lo cargo en un MC vacio).
El problema esque el siguiente codigo no me funciona al cargar la pelicula dentro del MC vacio, sin embargo si que funciona cuando esta vacio ¿como puedo hacer para mover la pelicula cargada???
Muchas gracias de antemano
Visor.onPress = function(){
this.x = this._xmouse;
this.y = this._ymouse;
this.onEnterFrame = mover;
}
Visor.onRelease = function(){
this.onEnterFrame = null;
}
function mover(){
this._x = this._parent._xmouse - this.x;
this._y = this._parent._ymouse - this.y;
}
El problema esque el siguiente codigo no me funciona al cargar la pelicula dentro del MC vacio, sin embargo si que funciona cuando esta vacio ¿como puedo hacer para mover la pelicula cargada???
Muchas gracias de antemano
Visor.onPress = function(){
this.x = this._xmouse;
this.y = this._ymouse;
this.onEnterFrame = mover;
}
Visor.onRelease = function(){
this.onEnterFrame = null;
}
function mover(){
this._x = this._parent._xmouse - this.x;
this._y = this._parent._ymouse - this.y;
}
Valora esta pregunta


0