come ho visto usi mx potresti scrivere anche cosi, questo inserisci nel tuo bottone, se è un MovieClip
cmq, se voi sapere il percorso esatto basta scrivere :codice:this.onPress = function() { this.onEnterFrame = function() { this._parent.immag._y > -50 ? this._parent.immag._y -= 10 : this.onEnterFrame = null; }; }; this.onRelease = function() { this.onEnterFrame = null; };
trace(targetPath(immag));

Rispondi quotando