Skip navigation
Home/Support/

Forums

116 Views 11 Replies Latest reply: Jan 30, 2010 3:34 AM by JEDean89 RSS
JEDean89 Calculating status... 6 posts since
Jan 29, 2010
Currently Being Moderated

Jan 29, 2010 11:07 PM

Flash button link AS 3.0

I have a flash button link using actionscript 3.0. The animation is a fade in of a logo. The problem is that the button is only a link during the animation, ie. when the logo has fully faded in it stops becoming a link. Here is the actionscript code i am using, does anyone know where i am wrong? Thank you so much.

 

import flash.events.MouseEvent;
myButton.addEventListener(

MouseEvent.CLICK, myButtonFunction);
function myButtonFunction(event:MouseEvent):void {
var request:URLRequest = new URLRequest("http://flightswitch.com/home.html");
navigateToURL(request, "_self");
}

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points