Ragazzi una domanda:
ho un filmato flash di 30 frames in un clip.
1 pulsante sulla _root.
Quando passo il mouse sul pulsante il clip deve andare in avanti, quando lo tolgo si deve riavvolgere.
come posso fare?
Grazie
Ragazzi una domanda:
ho un filmato flash di 30 frames in un clip.
1 pulsante sulla _root.
Quando passo il mouse sul pulsante il clip deve andare in avanti, quando lo tolgo si deve riavvolgere.
come posso fare?
Grazie
codice:mio_mc.stop(); function forward(mc:MovieClip) { mc.onEnterFrame = function() { this.nextFrame(); this._currentframe == this._totalframes ? this.onEnterFrame=null : null; }; } function rewind(mc:MovieClip) { mc.onEnterFrame = function() { this.prevFrame(); this._currentframe == 1 ? this.onEnterFrame=null : null; }; } mioPulsante.onRollOver = function() { forward(mio_mc); }; mioPulsante.onRollOut = function() { rewind(mio_mc); };![]()
Grazie perfetto