1. Technology
You can opt-out at any time. Please refer to our privacy policy for contact information.

Flash Color Quiz: What's Your Mood?


3 of 10

Setting Up Clickable Choices
Flash Color Quiz: What's Your Mood?
To move my animation beyond the intro movie clip and start the quiz, I used an on (release) and gotoAndPlay attached to an invisible hotspot movie clip that overlaps the area of my intro animation that I want to be clickable:
on (release) { 

Note that I used _root in front of my gotoAndPlay? Since we're talking about the main timeline, just using the gotoAndPlay on a movie clip would confuse Flash just a touch, as it wouldn't be sure if you were referring to the movie clip timeline or the main stage's timeline.

Please note: code is not meant to be copied directly. Page template issues and formatting may automatically convert some symbol characters to formatted/HTML equivalents, and they won't work properly when pasted into Flash. Please use this code as guidelines to write your own.

©2014 About.com. All rights reserved.