/ Published in: ActionScript 3
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
import flash.net.URLRequest; import flash.net.navigateToURL; function getURL($url:String, $target:String = null) { try { navigateToURL(new URLRequest($url), $target); } catch(error:Error) { trace("getURL Error:" + error); } }