Help with navigateToURL
Here is the coding that I am told to use. Where do I put my url? I'm so confused by this.
| // load flashVars |
var flashVarParam:Object = LoaderInfo(this.root.loaderInfo).parameters;
var clickTAG:String = flashVarParam.clickTAG;
// load clickTAG
function loadURL(event:MouseEvent):void {
var request:URLRequest = new URLRequest(clickTAG);
try {
navigateToURL(request, '_blank');
} catch (e:Error) {
trace("Error occurred!");
}
}