all groups > macromedia flash sitedesign > september 2006 >
You're in the

macromedia flash sitedesign

group:

Check to see if run from my server


Check to see if run from my server Suzie
9/21/2006 12:16:33 AM
macromedia flash sitedesign:
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!

Re: Check to see if run from my server andrea azzini
9/21/2006 12:40:48 AM
Suzie ha scritto:
[quoted text, click to view]

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')
}
Re: Check to see if run from my server - THANX! Suzie
9/22/2006 11:43:37 PM
Thank-you so much, it worked!

You're the best!!!

Now, I must try to find a solution to my seemingly complex question. :-(
(how to create a MULTI-SWF preloader that preloads multiple SWF files from
one single SWF file and then plays them in order once they're all preloaded)

~Suzie

[quoted text, click to view]

AddThis Social Bookmark Button