PDA

View Full Version : Stopping on 1st frame


dieselat
12-27-2005, 01:24 AM
HI
i m new to flash and i want to make the first frame of my movie to have the play botton but i dont know how to stop it in 1st frame so the viewer can clicka dn work the bottond so if soem one can pls help me it would be nice.

Flash Gordon
12-27-2005, 01:28 AM
stop();

dieselat
12-27-2005, 01:50 AM
I tried that but it doesnt work,,, Wat i actualy am trying to make a is title screen so can any one pls help.

Panoramical
12-27-2005, 11:34 PM
Well...give your play button an instance name, and on the Actions panel of the first keyframe you need to type:


stop();
_root.buttoninstancename.onRelease = function() { //Replace buttoninstancename with the instance name you gave your button
gotoAndPlay(2); // If you don't want to go to frame 2, you can go to another...or if you want to change scene...gotoAndPlay("Different Scene", 1);...very simple
}

dieselat
12-28-2005, 11:00 PM
it worked

Thanks Panoramical..