Need help AS3 navigateToURL opening new window
问题 AS3 noob here. I am using the following code to successfully send a var to my php/database. My problem is that, of course, when I click my button in the Flash movie the browser navigates away to the "http://www.mydomain.com/charity.php?id=c" url. function onPressHandlerc(evt:MouseEvent):void { var url:String = "http://www.mydomain.com/charity.php?id=c"; var request:URLRequest = new URLRequest(url); try { navigateToURL(request, '_blank'); } catch (e:Error) { trace("Error occurred!"); } } How