Hey Johan,

Thanks for the feedback.

The reason i asked was to prevent deeplinking..
In some way the js is an option to make it somewhat harder.. but it is prevered that when another site downloads the game and hosts it itself that it will work.. also the js is easy to workaround.. it's a good start though.. .. the second opion is easier to tamper with so that's not of use in this case..

Thanks though.. if you have any more thoughs i'd love to hear them.

Cheers,

Dennis


----- Original Message ----- From: "Johan Karlsson" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Sent: Friday, May 26, 2006 1:15 PM
Subject: RE: [Flashcoders] _url


I don't think you can. Not in a reliable way that is. You could make a get
url that runs some javascript that looks up the window.location.href and
sends it to a variable inside flash using setVariable() method
(http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_15683)

But I'm not sure that this will work if the swf and html is on different
domains.

Other ways are to let the HTML page itself pass it's url. But that easily
tampered with.

/Johan

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dennis -
I Sioux
Sent: den 26 maj 2006 10:30
To: Flashcoders mailing list
Subject: [Flashcoders] _url


Hey,

I'm wondering if anyone knows a way to get the url of the site that is
embedding an swf..(instead of the one hosting it)
The _url will give the url where the swf is hosted.. but i want to get the
url from the server that is showing it.

Anyone?

Many thanks,


Dennis
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to