will this work also?
onEnterFrame = function () {
// get everything between the "://" and the next "/"
urlStart = _url.indexOf("://")+3;
urlEnd = _url.indexOf("/", urlStart);
domain = _url.substring(urlStart, urlEnd);
// get rid of any prefixes before the second to last "."
LastDot = domain.lastIndexOf(".")-1;
pfixEnd = domain.lastIndexOf(".", LastDot)+1;
domain = domain.substring(pfixEnd, domain.length);
//tell the movie what to do...
if (domain != "ungrounded.net" && domain != "newgrounds.com" && domain != "uploads.ungrounded.net" && domain != "ngfiles.com") {
_root.gotoAndStop(7);
}
};