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.

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);


More discussions in ActionScript 1 and 2


adobe

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support