Jeremy
(Journeyman)
02/15/05 01:26 PM
Re: Programming a play button with flash mx 2004 pro

Hi there,

Well, I am not exactly sure what you're programming, is it one of our tutorials? Most play buttons operate the same way. You click them and it goes to another frame on the main timeline. One important thing to remember is that the frame with your nav buttons should have a stop(); function too so that the playhead doesn't just skip right past your buttons!

Here is some code for a sample play button. Let me know if you want me to be more specific!

Place this code on the button movieClip by clicking the button on the stage and typing into the actions window:

on (release) {
gotoAndPlay("myLabel");
}

Then set up the frame you want to take the playhead to with a frame label, "myLabel".

Good luck!



Contact Us Programming Art Home

*
UBB.threads™ 6.5.1.1

Notice: due to an unmanageable amount of spam, the forums are closed to new members until further notice. You may still get support for any of your software products by emailing us at support@ at our website domain. Please feel free to browse existing posts as a guest as there is plenty of valuable information here. Thanks!