Projects

Example 3 - Multiple MovieClip Instances with Variables Assigned by Clip Events

Intro : Example 1 : Example 2 : Example 3 : Example 4

Library

Construction

Actionscript

Attached to invisible button on button movieclip timeline

on(release) {
  _parent.content.gotoAndStop(frame);
}

Attached to instances of button movie clip on main timeline

onClipEvent(load) {
  this.text = "Home";
  this.frame = 1;
}

Repeat for each button

this refers to the instance of the movie clip to which the actionscript is attached.

Advantages

Disadvantages

Recently Played on iTunes

  1. “My Sharona”
    Frat Rock: The '70s
    The Knack
    06/04/11 09:27
  2. “The KKK Took My Baby Away”
    Anthology
    The Ramones
    06/04/11 09:25
  3. “My Sharona”
    Frat Rock: The '70s
    The Knack
    06/04/11 09:24

Last 100 Songs >