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. “Heroin”
    The Velvet Underground & Nico
    The Velvet Underground
    11/17/08 16:26
  2. “All Tomorrow's Parties”
    The Velvet Underground & Nico
    The Velvet Underground
    11/17/08 16:20
  3. “Run Run Run”
    The Velvet Underground & Nico
    The Velvet Underground
    11/17/08 16:16

Last 100 Songs >