URL request doesn't work outside of Flash Pro [CS6]
I've been working on a XML project in class using Hellcat, and everything seemed to be working properly, untill I used the html test in google chrome. None of the links would work, nor would it show an error. I thought "hey this is beta software, so it might be an error." and re-did the project in CS6. The exact same issue occured. I decided to test it in another browser. I opened it in Nightly (Firefox) and instead it blocked access to the link. I can't change the setting to allow it either (didn't show in the settings); so I don't know if it works there.
Here's my AS3 code:
var navURL2 = "http://" + (myXML.LINK[1]);
nav2.addEventListener(MouseEvent.CLICK, onClick2);
bg2.addEventListener(MouseEvent.CLICK, onClick2);
function onClick2(e:MouseEvent):void{
navigateToURL(new URLRequest(navURL2), "_blank");
}
and the XML: (I cut out the parts that aren't needed)
<LINK TITLE="">www.google.com</LINK>
What it's supposed to do:
It allows low-end users create a simple nav bar by editing elements in XML, and changing a link. You can change everything from the link, to the background of the swf.