I needed to find this info as well and tried this.url but that only
returns the location
of the swf not the html page the swf is in.
I made a sample to mess around with this issue...
I had to use javascript to get the href and pass it to Flash. I do
this onLoad but incase
the user has popups blocked there is an html link on the page to send
the var to flash.
http://www.thespikeranch.com/test/about.html
Gerry
On Nov 23, 2005, at 12:54 PM, Keith DiMatteo wrote:
this.url
The end computer?
The client computer of the person with the browser?
Try looking up server variables.
(here is a list of most of them:
http://www.lib.washington.edu/asp/browser/servar.asp)
(REMOTE_ADDR and REMOTE_HOST)
I don't think there is any way of retrieving them unless you use a
flashVars variable and some inline
scripting..
On 11/22/05, Rajat Paharia <[EMAIL PROTECTED]> wrote:
As far as I can tell, mochibot will tell you the URL of the host of
your Flash movie, but not where it's being viewed.
And unfortunately javascript isn't an option. It needs to be
completely Flash. Sounds like I'm out of luck... - rajat
On 11/21/05, Robert Chyko <[EMAIL PROTECTED]> wrote:
Haven't actually used this.. But it seemed pretty cool when I
initially checked it out
www.mochibot.com
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Karthik
Sent: Saturday, November 19, 2005 4:16 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Way to get URL of host page?
I see. In that case, you should be able to get this done with a JS
call that returns location.href etc. etc.
hth
-K
On 19/11/05, Rajat Paharia <[EMAIL PROTECTED]> wrote:
Thanks Karthik - I'm not trying to prevent it, I just want to log
it for analysis purposes later.
best, - rajat
_______________________________________________
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
*******************************************
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders