PDA

View Full Version : help with buttons



steven
12-22-2004, 07:50 PM
Hi, I have a question, I'm working on a loading scene that I can do with all my movies, so I made the loading scene, but I want a button that will take it to scene2. How do I do this? I searched through the flash help and I couldn't find anything, I am using flash mx 2004. Thanks.

NTD
12-22-2004, 09:37 PM
Hi,

Put a label on the first frame of the scene you want to target, give your button a name and try this on the first frame...



_root.btnName.onRelease=function(){
_root.gotoAndPlay("frameLabel");
}