Originally Posted by
Just replace all of the "www.website.com" strings with the website of your choice. Note: You only need to put in the domain, not the exact URL.
Hope this helps out everyone.
[CODE
hyperText = _url.substr(0, _url.indexOf(":"));
if (hyperText == "http") {
slash = _url.indexOf("//");
webSite = _url.substr(slash+2, _url.indexOf("/", slash+2)-slash-2);
webSite = webSite.toLowerCase();
if (webSite.indexOf("www.website.com") != -1) {
webSite = webSite.substr(webSite.indexOf("www.website.com")+ 4, webSite.length);
}
if (webSite.indexOf("www.website.com") != -1) {
//load the game
} else {
stop();
myMessage = "Copyright Infringement! This movie has be disabled. "+"The following web address has been logged and the authorities will be notified: \n\n "+_url;
}
}
[/CODE]