I am hosting a game for a client however they are displaying it on their
site in an iFrame. The game is also available for other sites to embed the
swf.

I would like to change a link within the game based on whether it is being
played from the clients site or from another site.

The game is programmed in AS3. 

I have done a test of var rootURL = loaderInfo.url; and it gives me the URL
of my site.

Is there a way in flash to detect the URL of the iFrame?

The link to the game on the clients site is as follows:

http://www.britishlivertrust.org.uk/home/looking-after-your-liver/liver-let-
live-game.aspx

Thanks

Paul

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to