PDA

View Full Version : button linked to new movie



mrgooodtimes
09-24-2004, 04:49 AM
Hello all I just built a really basic flash page. I have a button at the end of the movie. I want to be able to click the button to get it to play a new movie any insight on this. I put the movie I want to play in a frame way after the main animation but every time I click the button it plays the original movie all over again any idea how to fix this

NTD
09-24-2004, 09:03 AM
Hi,

Put a frame label on the frame with the new movie and direct the playhead to that frame label......

frame code.....


_root.buttonName.onRelease = function() {
_root.gotoAndPlay('frameLabel');
}


button code....


on (release) {
_root.gotoAndPlay('frameLabel');
}