10 Killer Flash Tips For Beginners

4. How to add Right-Click menu in Flash ActionScript 3.0

  1. Create custom menu items.
  2. Add Event Listeners to those items.
  3. Hide built-in items.
  4. Apply the custom menu items.

Right-Click Menu AS3

Download Source

5. Using Tweener class or tween engine for motion tweening

There are a number of open source tween engines on the web. Tweener is one of the most popular tween engines for motion tweening.

  1. Download Tweener Class (AS3).
  2. Import Tweener class by unzipping it and put caurina folder into the folder that your flash file exists.
  3. Create a movieclip "gray box" in the library.
  4. Drag it 2 times and give them instance names gray_box_01 and gray_box_02.
  5. Apply Tweener to them.
  6. Download Tweener Documentations to understand and apply it better.

Using Tweener Engine

6. General Structural Guidelines for Flash

It is really important to keep your flash timeline structure and library clean and reusable. This way you can save a lot of time for future projects.

  1. Create and apply layer folders when you have more than 10 layers on timeline.
  2. Avoid using default layer names (examples: Layer 1, Layer 2, etc.) and give them meaningful names.
  3. Put all actionscripts in one layer (named "actions") and put it on top of all layers.
  4. Give the meaningful names for every object in the library and use folders to group related objects.
  5. Remove unused objects from the library by clicking the small drop down arrow, then "Select Unused Items" and press delete button.
  6. Download FLA file from Flashmo.

library_structure

-->