Internet Commerce

Partners & Affiliates

Developer Channel


Featured Flash FLA
Gallery Downloads 11401 Flash Movies | 5 New Flash Movies Added
What's New | Top 100

Featured FLA

»  Author: Nick Kouvaris
»  Title: Znax
»  Description: Znax is a board game. Click 4 tiles of the same color and form squares as big as you can. You will erase all the tiles inside the square and collect points. Get maximum score if you make a square with game edges.
»  More by: Nick Kouvaris


Random FLAs | Add Flash Movie
Featured Flash Site
Gallery Downloads 4941 Flash Sites | 1 New Flash Links
What's New | Top 100 Flash Site

Featured Site

»  Author Agence WOP Digital Agency
»  Title: Electricdrum
»  Description: French WOP Agency, 3D websites, Flash (Papervision, Away 3D), event or institutional projects. The agency operates on all digital projects: consulting, design, graphic design, development, online communication. The WOP agency follows you on the implementation of original, creative and optimized digital projects.


Random Links | Add your own Flash Related Links
Flash Tutorials 1481 Tutorials 7 New Tutorials Added!
What's New | Top100

» How To Make A Simple Animation Using Christmas Clips
» Simple Step by step flash game tutorial Spot the diffrence
» How To Make A Moving Text Slide
» Create Flash Banner With Text Float Effect
» How To Make Zoo Photos Slideshow
» How To Make A Dolphin Photos Slideshow
» How To Make A Fathers Day Slideshow
» How To Make A Transparent Background of Your Flash File
» Create Flash Banner With Text Disco Light Effect Today we will introduce you a Text Disco Light eff
» Unknown Tag: Title10
Random Tutorial | Add Site


Tutorials Home What's New Top Rated Submit myTutes Random!

Search Tutorials


Tutorials Tutorials » Getting_Started

Categories build a button
Author: Bassem Bouguerra

 
Page 1
1

Buttons :
There are 2 methods to create a button:

  • you can either drag a button component from the components panel
  • or create your own button using your own design and that's what we are going to build.

Creating a button using your own design:

  1. Draw whatever shape you want using the drawing tools.
  2. Select the shape you drew, click on Modify->Convert to Symbol
  3. Select the Button option and type the name of your button in the name text field.
  4. Double click on the button.
  5. You will see 4 frames:
    • Up: is what you see when the button is passive
    • Over: is what you see when the mouse is over the button
    • Down: is what you see when you click on the button
    • Hit: is the area of sensitivity, means when the mouse rolls over that area the pointer will go the over frame, the hit frame won’t be seen.
    Click on the Up frame, press F6 and make your changes to the shape or color. Do the same thing for Over, Down and Hit; remember the Hit frame won’t be seen so just copy what you have in Up frame.
  6. Select the button, open the actions panel and type:
    On (release) {
    trace(“Yeah, the button is working !!”);
    }
    

If you test the movie, when you release the button a pop-up window will pop out displaying “Yeah, the button is working !! “.

1

» Level Basic

Added: : 2004-07-02
Rating: 5.84 Votes: 75
Hits: 1314
» Author
Worked with Macromedia Flash since 2001 from Flash 4.
» Download
Download the files used in this tutorial.
Download (0 kb)
Get conversion and unzipping tools for PC and Mac here!

» Forums
More help? Search our boards for quick answers!

Please rate this tutorial, 10 is the top rating, you can also click the comments link to read/write a review.
10 9 8 7 6 5 4 3 2 1
Read or Post Comments