Question
Links - basic question
Flash newbie quesiton - please bear with.
A simple Flash intro, with 3 text buttons appearing toward the end of the movie that should allow navigation to other pages in the site.
I'm not sure where to place the actionscript for the buttons... do I select the layer that contains each button, then click the keyframe where the button first appears (buttons do not appear until frame 250). I've also read that a separate layer for actionscript should be created, and all scripts placed there.
Here is the basic script I'm using:
enter_btn.addEventListener(MouseEvent.CLICK, enterbuttonClickHandler);
function enterbuttonClickHandler(event:MouseEvent):void {
navigateToURL(new URLRequest(" http://www.danceartscentreatl.com/main.htm"));
}
A simple Flash intro, with 3 text buttons appearing toward the end of the movie that should allow navigation to other pages in the site.
I'm not sure where to place the actionscript for the buttons... do I select the layer that contains each button, then click the keyframe where the button first appears (buttons do not appear until frame 250). I've also read that a separate layer for actionscript should be created, and all scripts placed there.
Here is the basic script I'm using:
enter_btn.addEventListener(MouseEvent.CLICK, enterbuttonClickHandler);
function enterbuttonClickHandler(event:MouseEvent):void {
navigateToURL(new URLRequest(" http://www.danceartscentreatl.com/main.htm"));
}