This Adobe Flash Player Security box is really getting in my way.
I have a button that acts as a lind to a web page
It has this bit of code programmed to it:
button.addEventListener(MouseEvent.CLICK,buttonClick);
function buttonClick(event:MouseEvent):void {
var req:URLRequest = new URLRequest('http://…");
navigateToURL(req);
}
Can anyone tell me if calling navigateToURL() causes this security box to appear every time if you havent trusted this .swf in your flash settings?
I have looked at a way to handle the “link” with javaScript but before I get too deep into something I’m not too familiar with I wanted to see if there was a way to here within flash while avoiding the flash security box.