How to jump to previous frame at end of movie clip?
using flash professional 8. have menu play movie button on frame 1, , movie clip on frame 2. on frame 1, action script reads:
stop();
mybtn_btn.onrelease = function(){
gotoandstop(2);
};
thus, on release of button on frame 1, goes frame 2 , begins play flv movie clip (using flvplayback). after 9 minutes, when movie clip over, stays on frame 2 , playhead of movie clip goes beginning.
what action script should use tell go frame 1 @ end of 9-minute movie clip?
thanks help.
stop();
mybtn_btn.onrelease = function(){
gotoandstop(2);
};
thus, on release of button on frame 1, goes frame 2 , begins play flv movie clip (using flvplayback). after 9 minutes, when movie clip over, stays on frame 2 , playhead of movie clip goes beginning.
what action script should use tell go frame 1 @ end of 9-minute movie clip?
thanks help.
i got answer question @ actionscript.org
here answer below. use code below in frame 2 , replace flvplayback instance name of component (movie clip) in frame 2:
function complete(evt){
gotoandstop(1);
}
flvplayback.addeventlistener("complete",complete);
here answer below. use code below in frame 2 , replace flvplayback instance name of component (movie clip) in frame 2:
function complete(evt){
gotoandstop(1);
}
flvplayback.addeventlistener("complete",complete);
More discussions in ActionScript 1 and 2
adobe
Comments
Post a Comment