Adobe
Products
Acrobat
Creative Cloud
Creative Suite
Digital Marketing Suite
Digital Publishing Suite
Elements
Photoshop
Touch Apps
Student and Teacher Editions
More products
Solutions
Creative tools for business
Digital marketing
Digital media
Education
Financial services
Government
Web Experience Management
More solutions
Learning Help Downloads Company
Buy
Home use for personal and home office
Education for students, educators, and staff
Business for small and medium businesses
Licensing programs for businesses, schools, and government
Special offers
Search
 
Info Sign in
Welcome,
My cart
My orders My Adobe
My Adobe
My orders
My information
My preferences
My products and services
Sign out
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out My orders My Adobe
Preorder Estimated Availability Date. Your credit card will not be charged until the product is shipped. Estimated availability date is subject to change. Preorder Estimated Availability Date. Your credit card will not be charged until the product is ready to download. Estimated availability date is subject to change.
Qty:
Purchase requires verification of academic eligibility
Subtotal
Review and Checkout
Adobe Developer Connection / Flash Developer Center / Flash Professional glossary /

Flash glossary: Button symbol

by Adobe

Adobe Flash Professional

Created

25 July 2010

Page tools

Share on Facebook
Share on Twitter
Share on LinkedIn
Bookmark
Print
Flash Professional UI

Button symbols are a special type of four-frame interactive movie clip in Adobe Flash Professional. When you select the button type when creating a symbol, Flash creates a Timeline with four frames. The first three frames display the button's three possible states: Up, Over, and Down; the fourth frame defines the active area of the button. The button symbol timeline doesn't actually play linearly like a normal timeline; it reacts to mouse pointer movement and actions by jumping to the appropriate frame.

To make a button interactive, place an instance of the button symbol on the Stage and assign actions to the instance. You assign the actions to the root timeline of the Flash file. If the button is inside a movie clip, you can add the actions to the movie clip's timeline. Do not add actions to the timeline of the button symbol.

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

  • Frame 1 is the Up state, representing the button whenever the user's cursor is not over the button
  • Frame 2 is the Over state, representing the button's appearance when the pointer is over the button
  • Frame 3 is the Down state, representing the button's appearance as it is clicked
  • Frame 4 is the Hit state, defining the physical area of influence that responds to the mouse click (this area is invisible when the SWF file plays in Flash Player)
Button symbols

To create a button symbol, follow these steps:

  1. Choose Insert > New Symbol or press Control+F8 (Windows) or Command+F8 (Mac).
  2. In the Create New Symbol dialog box, enter a name for the new button symbol. Choose Button as the symbol type. Flash switches to symbol-editing mode. The Timeline changes to display four consecutive frames. The frames are labeled Up, Over, Down, and Hit. The first frame, Up, contains a blank keyframe.
  3. To create the Up state button image, select the Up frame in the Timeline and then use the drawing tools, import a graphic, or place an instance of another symbol on the Stage. You can use graphic symbols or movie clip symbols inside a button, but you cannot use another button symbol.
  4. In the Timeline, click the Over frame, and then choose Insert > Timeline > Keyframe. Flash inserts a keyframe that duplicates the contents of the preceding Up frame.
  5. With the Over frame still selected, change or edit the button image on the Stage to create the desired appearance for the Over state.
  6. Repeat Steps 4–5 to edit the Down frame and the Hit frame.

Editing the Hit frame is optional. The contents of the Hit frame are not visible on the Stage during playback, but the graphics you add to it define the physical area of the button that responds when clicked. This is useful when the graphic elements of the button are different sizes or unsymmetrical, which can make the button harder for a user to click.

To learn more about button symbols, see the section titled Creating buttons in the Flash documentation.


Tools used

  • Actions panel
  • Library
  • Property inspector

Related concepts

  • ActionScript
  • Buttons
  • Components
  • Graphic symbol
  • Instance
  • Keyframe
  • Movie clip symbol

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License

More Like This

  • Skinning the ActionScript 3 FLVPlayback component
  • Preventing problems with buttons and interactivity in Flash
  • Controlling web video with ActionScript 3 FLVPlayback programming
  • Flash glossary: Accessibility
  • Flash glossary: Symbol
  • Flash glossary: Graphic symbol

Flash User Forum

More
04/23/2012 Auto-Save and Auto-Recovery
04/23/2012 Open hyperlinks in new window/tab/pop-up ?
04/21/2012 PNG transparencies glitched
04/01/2010 Workaround for JSFL shape selection bug?

Flash Cookbooks

More
02/13/2012 Randomize an array
02/11/2012 How to create a Facebook fan page with Flash
02/08/2012 Digital Clock
01/18/2012 Recording webcam video & audio in a flv file on local drive

Products

  • Acrobat
  • Creative Cloud
  • Creative Suite
  • Digital Marketing Suite
  • Digital Publishing Suite
  • Elements
  • Mobile Apps
  • Photoshop
  • Touch Apps
  • Student and Teacher Editions

Solutions

  • Digital marketing
  • Digital media
  • Web Experience Management

Industries

  • Education
  • Financial services
  • Government

Help

  • Product help centers
  • Orders and returns
  • Downloading and installing
  • My Adobe

Learning

  • Adobe Developer Connection
  • Adobe TV
  • Training and certification
  • Forums
  • Design Center

Ways to buy

  • For personal and home office
  • For students, educators, and staff
  • For small and medium businesses
  • For businesses, schools, and government
  • Special offers

Downloads

  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR
  • Adobe Shockwave Player

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Security
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2012 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy Policy and Cookies (Updated)

Ad Choices

Reviewed by TRUSTe: site privacy statement