Free Flash Tutorials

Home • Members Tutorials Forum iSnapChat Contact Us 


Flash Tutorials


Flash - MX 2004 - Button Components

601 Components
Flash Compatibility: MX 2004

Written by: Phil

Length: 1000 words

Assumed Knowledge: Basic knowledge of Flash


Access: Members Bonus tutorial. For the full version you must: LOG ON To become a Member: Click here


For Free Tutorials: See listings: Free Tutorials




This tutorial will explain to you how to use component buttons in Flash MX 2004. The button component is easy to use but Macromedia have made some changes since the Flash MX version. It now sports a 'new look' and you can now use version 2 events. This means that you are no longer able to use the .setClickHandler() function. We now use a 'Listener Object' and use the .addEventListener method. This new Listener method is very straight forward to implement, as you will see.




Example: Download the Flash file Com 601a



Example of a Component Button.


Example: Download the Flash file Com 601b

Component Button with an Icon

Step one: Setting up the Button

  1. Create a new Flash MX 2004 file: File > New
  2. Rename Layer 1 to: button
  3. Drag an instance of the Button component onto stage: Window > Development Panels > Components
  4. If the Property Inspector is closed, open it: Window > Properties


This is a members only bonus tutorial. For the full text you must: LOG ON

For a full list of Free tutorials click here



previous tutorial
Next tutorial

Phil Schulz's Facebook Profile
Webwasp is Phil Schulz's baby. You are welcome to contact me or become my Facebook friend: Click here

 Top of Page HomeMembers Tutorials Forum iSnapChat Contact Us 
 All material on this site is protected under international copyright © law. DO NOT reproduce any material from this site without written permission. Please ask as permission is often granted.