Friday, November 13, 2009

ASM4O - Flash Buttons Help


Look at the picture here to help you out with your buttons in flash. This will help with Assignment 3d and for your interactive assignment :)


3 comments:

  1. If you want to have a button that takes you to another frame look below:

    You need to set up your buttons and use this actionscript to help you out.

    Once you have done creating your button and making it a symbol. Click once on your button and open the actions panel (shortcut is F9). This is where all the code for your button will go.

    code:
    --------------------------------------------------------------------------------


    on (release){
    _root.gotoAndStop(1);
    }

    --------------------------------------------------------------------------------

    Description of what just happened:

    Well the first line is pretty obvious, when you release off the button, do whatever is between the {} brackets.

    Where it says _root.gotoAndStop, you're telling the code that you want the play head to go to a certain frame and stop there. However, you can also do gotoAndPlay, if you want the header to continue playing from a certain frame.

    Finally, there's the (1). I just used that number for the sake of example, but basically change the number to whatever frame number you want the button to go to.

    ReplyDelete
  2. How to make a mute button

    http://www.photoshopsupport.com/flash/tt/flash-mute-sound.html

    Included in this tutorial is how to make a simple mute button with limited coding but is essential to the learning process.

    Be sure to pay attention to the concepts as it may aid you in future flash projects.

    ReplyDelete
  3. How make an animated button

    http://www.layersmagazine.com/flash-button-animation.html

    This example and tutorial shows the basics on how to create and animate a really cool button roll-over effect, check it out!

    ReplyDelete

Note: Only a member of this blog may post a comment.