/ Published in: ActionScript 3
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var checkURL:String = stage.loaderInfo.url; if(checkURL.slice(11, 22)=="tuff-studio" || checkURL.slice(7, 18)=="tuff-studio" ) { } else { var URL:URLRequest = new URLRequest("http://www.tuff-studio.com" ) navigateToURL(URL, "_self" ) };