This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > September 2006 > Check to see if run from my server





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Check to see if run from my server
Suzie

2006-09-24, 6:24 pm

Hi all,

Does anyone know how to make sure my SWF is run from my server (so that it
won't run from anywhere else)?

~thanks!


andrea azzini

2006-09-24, 6:24 pm

Suzie ha scritto:
> Does anyone know how to make sure my SWF is run from my server (so that it
> won't run from anywhere else)?


You can try to compare the _url variable with the url of the page.

if (_url.indexOf('http://www.yoursite.com') == 0) {
trace('my server')
}

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews