Programming Art Forums

Programming Art Tutorials >> Flash

Pages: 1
2slogan
Novice


Reged: 02/13/05
Posts: 1
Programming a play button with flash mx 2004 pro
      #537 - 02/13/05 10:33 AM

Every time i use the supplied code selections and when i go to the test movie the movie just starts playing without me clicking anything so could somebody send me the code that you have to type in

Post Extras: Print Post   Remind Me!   Notify Moderator  
Jeremy
Journeyman


Reged: 11/20/02
Posts: 49
Loc: Columbus, OH
Re: Programming a play button with flash mx 2004 pro
      #540 - 02/15/05 01:26 PM

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!

--------------------
JS [EOTT]


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 7 anonymous users are browsing this forum.

Moderator:  Programmingart, Brad 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is enabled
      UBBCode is enabled

Rating:
Topic views: 12539

Rate this topic

Jump to

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!