First time here? First time here? Newsletter Signup Newsletter
651326 Members and growing! | Flash Jobs
Search tutorials
Author: Eddie Carroll | Website: http://www.flashkit.com

Example Layout of a Tutorial

codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"
ID=ad_banner WIDTH=150 HEIGHT=150>





HEIGHT=150 TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">

The example above is Flash button.


The button symbol has the ability to change its image according to what state the button is in. There are four of these states, Up, Over, Down and Hit. You can see in the button in its normal state, you can then interact with it by rolling the mouse cursor 'over' the button. When you click the button it will send the it into the 'down' state for as long as the mouse button remains pressed. A Button can also carry out an action when a certain state is reached, because of this, there is a four framed timeline to define each state.

But first you have to create a button. Choose Insert > New Symbol and select "Button" instead of "Graphic" as the behaviour option. Once your click OK, Flash will enter its edit symbol mode. The timeline will change to show four blank frames corresponding to the four button states mentioned before. The first frame will have a blank keyframe in it. Notice how the button symbol is different to the graphic symbol.


Each frame in the Timeline of a button symbol has a specific function:


1. Up is the state used whenever the mouse pointer is not over the button.

2. Over is used when the mouse pointer is over the button.

3. Down is the state attained when the button is clicked.

4. Hit is invisible and defines the area where the button will react to the mouse pointer.

» Level Basic

Added: 2000-06-20
Rating: 6 Votes: 115
(10 being the highest)
» Author
Eddie is the Content Editor at Flashkit.com and is actually a sentient Gateway Solo 2150xl notebook that suffers from acute lysdexia and caffeine addiction. He is carried on the shoulders of a semi-autonomous human called "Body".
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!

Comments

  • There are no comments yet. Be the first to comment!

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: work2survive
» Title: Girl Walking 1kb
» Description: Walking girl, animation just takes 1kb, using high heels shoes, and fashion model attitude.
Featured Sound Loops
Image for equalize

Audio Player

» Author: BoxCat
» Title: CPU Talk
» Description: From the cyberpunk RPG, "Nameless: the Hackers" Completely Free to use! Keywords: edm hip hop rap electronic mysterious mission hacking chase exciting spy ios ambient chilling love happy sad angry suspense
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: nathan
» Description:

A recorded sound of the Dimensional Fork Gate.