Projects
Example 1 - Multiple Button Instances
Intro : Example 1 : Example 2 : Example 3 : Example 4
Library
- button - Button
Construction
- Create 1 button, reuse
- Layer text over buttons
- Create content on keyframes in main timeline
- Attach actionscript to individual button instances
Actionscript
on (release) {
gotoAndPlay("framelabel");
}
Attached to each button instance. Causes playhead to jump to the correct frame label.
Advantages
- Straightforward - what you see is what you get
- Smallest file size (for something this simple)
- Frame labels allow for arbitrary lengthening of timeline without messing up gotoAndPlay actions
Disadvantages
- Hard to modify
Recently Played on iTunes
-
“My Sharona”
Frat Rock: The '70s
The Knack
06/04/11 09:27 -
“The KKK Took My Baby Away”
Anthology
The Ramones
06/04/11 09:25 -
“My Sharona”
Frat Rock: The '70s
The Knack
06/04/11 09:24