# SWF secuirity from theives

**URL:** <https://forum.kirupa.com/t/swf-secuirity-from-theives/146207>\
**Category:** Uncategorized\
**Created:** [April 28, 2005, 11:23pm UTC](https://forum.kirupa.com/t/swf-secuirity-from-theives/146207 "2005-04-28T23:23:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![patricktheking](https://avatars.discourse-cdn.com/v4/letter/p/a3d4f5/32.png) [@patricktheking](https://forum.kirupa.com/u/patricktheking)\
**Post date:** [April 28, 2005, 11:23pm UTC](https://forum.kirupa.com/t/swf-secuirity-from-theives/146207/1 "2005-04-28T23:23:47Z")

</div>

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.

```auto

 
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.
