SWF secuirity from theives

Hey wondering if there is code in flash whatwill analyze the url of the persons webpage and only play on the website youi set it on. i was thinking something like.


 
getURL(this); = _root.CurrentURL
if (_root.CurrentURL == [www.odoylerules.com/main.html](http://www.odoylerules.com/main.html)){
	  play;
}else}
stop;

along those lines i was thinking. not sure though.