A worthy cause but I think I have a better way.
As much as this tutorial is good, it won't stop someone from right clicking and going to the last frame with the replay button.
What you want to do is place a movieclip on the very first 2 frames on the top player above ALL other graphics, before the preloader even and inside the movieclip you want to make the firstframe use this actionscript
------------------
LC = new LocalConnection();
if(LC.domain() == "BAD LINK") {
gotoAndStop(2);
_root.gotoAndStop(1)
}
----------------------
And of course, you put on the second frame whatever you want like "Stop theive my work" or maybe some actionscript that redirects the the famous eBaums world dot com animation, or of course, the picture of the ass. Leave the first frame blank, all that does is find if the swf is hosted on eBaums world or not.
You also want to place a second movieclip inside the movieclip on the second frame, that contains two keyframes with this actionscript
_root.gotoAndStop(1)
What'll happen is if the swf is hosted on eBaums world, the movieclip will cover everything else inside the flash permanently and will not allow anyone to view the flash, not even by right clicking.
Still a very worthy cause however your method and simple for those who are beginners with flash.
The only problem with this is, Eric Bauman has been known to decompile flash files before, so effectively he could remove the "ass" actionscript altogether.