# Making an swf check its own web URL

**URL:** https://forum.kirupa.com/t/making-an-swf-check-its-own-web-url/207019
**Category:** Uncategorized
**Created:** [November 14, 2006, 2:23am UTC](https://forum.kirupa.com/t/making-an-swf-check-its-own-web-url/207019 "2006-11-14T02:23:19Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Roboman](https://avatars.discourse-cdn.com/v4/letter/r/65b543/32.png) [@Roboman](https://forum.kirupa.com/u/Roboman)
#### Post date: [November 14, 2006, 2:23am UTC](https://forum.kirupa.com/t/making-an-swf-check-its-own-web-url/207019/1 "2006-11-14T02:23:19Z")

</div>

Hey all,

Is there any way to make a flash movie check its own URL? Say if I had a file at [www.dxinteractive.com/happyfun](http://www.dxinteractive.com/happyfun), could the flash file return a string containing “[www.dxinteractive.com/happyfun](http://www.dxinteractive.com/happyfun)”? Reason being I’ve never thought about flash security much before, but I’ve recently had someone lift a direct copy of one of my games, without using a decompiler. If the game could check to see if it was located, then it could match it up with where it should be and then stop working.

I am aware that there are decomilers, I am also aware that nothing is 100% thief-proof (theres always someone who says that :D), but I write so much extra hidden code and wierd checks in my games that I can barely understand it myself, and decompiling and reassembling it would be very very very difficult. I’ve tried.

So yeah, anyway to check its own full URL for future projects? :thumb:
