How do you put in an ActionScript3 ClickTag?
New to Flash Professional and ActionScript3 so please bare with me. Tried to insert a ClickTag the way you would in AS2 and it doesn't work.
This is is the code I need to put in, but I am not sure how to get it to work:
import flash.events.MouseEvent;
import flash.net.URLRequest;
// ......
someButton_or_displayObject_to_receive_mouseClick.addEventListener(
MouseEvent.CLICK,
function(event: MouseEvent) : void {
flash.net.navigateToURL(new URLRequest( root.loaderInfo.parameters.clickTAG), "_blank");
}
);
Also, do I need to put the Stop Action in the same layer or can in be in a separate layer?
Thanks!
