Protecting your SWFs

Hello all, this is my first real post on Kirupa. I have known about it and used it for a long time, but I never posted, now I am going to start, so here a little code that I needed. I have seen this posted on the forums loads, but never answered. (It probably was, but i missed it, so for anyone else who missed it, here is the code I have come up with.

Stage.showMenu = false; // Stops people skipping protection.

var domain:String = “http://www.kirupa.com” // Enter domain name here (no ending ‘/’).
if(_root._url.indexOf(domain) == -1 ){
getURL(domain, “_parent”); // If not correct, go to the website.
gotoAndStop(2); // If not correct, go to ‘frame 2’.
} else {
gotoAndPlay(3); // If correct, play the rest of the Flash at ‘frame 3’.
}

PS: I don’t know how to add code into V-Bulletin, so if anyone can give me a hand that would be great.