Re: [Flashcoders] Way to get URL of host page?

2005-11-23 Thread NEILHIGHLEY.COM
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..

[ASP]
PARAM NAME=FlashVars
VALUE=REMOTE_HOST=%=Request.ServerVariables(REMOTE_ADDR)%

[ASP.NET - c#]
PARAM NAME=FlashVars
VALUE=REMOTE_HOST=%=Request.ServerVariables[ALL_HTTP]%

[PHP]
PARAM NAME=FlashVars VALUE=REMOTE_HOST=? echo $_ENV['REMOTE_HOST']; ?


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



--
www.neilhighley.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Way to get URL of host page?

2005-11-23 Thread Gerry Creighton
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


RE: [Flashcoders] Way to get URL of host page?

2005-11-23 Thread Jayson K Hanes
That's utterly useless in attempts to foil an swf that is used by way of
someone else's html on another server... it is good information but
can't be used the way that it would be most desirable.

Flash needs to have this ability natively through the ocx.. without the
dependence of html javascript, and until this is put in by MM, will
continue to be a problem for all of us.

-Jayson

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of Gerry Creighton
 Sent: Wednesday, November 23, 2005 1:19 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Way to get URL of host page?
 
 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:
 
 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Way to get URL of host page?

2005-11-23 Thread Gerry Creighton

I agree...
I wanted a way to display certain content in Flash dependent on what  
html page
was delivered to the viewer without adding FlashVars code to the html  
page.
So what use is this.url if it only shows me the path to the swf?  
None really.

I could be wrong though...in which case I would like to be enlightened.

Gerry

 
...

http://www.thespikeranch.com
Certified Macromedia Flash MX Designer
 
...


On Nov 23, 2005, at 1:23 PM, Jayson K Hanes wrote:

That's utterly useless in attempts to foil an swf that is used by  
way of

someone else's html on another server... it is good information but
can't be used the way that it would be most desirable.

Flash needs to have this ability natively through the ocx.. without  
the

dependence of html javascript, and until this is put in by MM, will
continue to be a problem for all of us.

-Jayson


-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Gerry Creighton
Sent: Wednesday, November 23, 2005 1:19 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Way to get URL of host page?

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:




___
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


RE: [Flashcoders] Way to get URL of host page?

2005-11-21 Thread Robert Chyko
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


Re: [Flashcoders] Way to get URL of host page?

2005-11-21 Thread Rajat Paharia
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


Re: [Flashcoders] Way to get URL of host page?

2005-11-19 Thread Karthik
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] Way to get URL of host page?

2005-11-18 Thread Rajat Paharia
Hey all - if my movie gets loaded into a page at Website A from a
server at Website B, is there anyway, from within Flash, to get the
URL of the page at Website A?

thanks! - rajat
--
Rajat Paharia
[EMAIL PROTECTED]
http://www.bunchball.com
http://www.rootburn.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Way to get URL of host page?

2005-11-18 Thread Karthik
Nope :( If you are looking for a way to prevent this from happening,
google for stuff to prevent hotlinking of SWFs.

-K

On 19/11/05, Rajat Paharia [EMAIL PROTECTED] wrote:
 Hey all - if my movie gets loaded into a page at Website A from a
 server at Website B, is there anyway, from within Flash, to get the
 URL of the page at Website A?

 thanks! - rajat
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Way to get URL of host page?

2005-11-18 Thread Rajat Paharia
Thanks Karthik - I'm not trying to prevent it, I just want to log it
for analysis purposes later.

best, - rajat

On 11/18/05, Karthik [EMAIL PROTECTED] wrote:
 Nope :( If you are looking for a way to prevent this from happening,
 google for stuff to prevent hotlinking of SWFs.

 -K

 On 19/11/05, Rajat Paharia [EMAIL PROTECTED] wrote:
  Hey all - if my movie gets loaded into a page at Website A from a
  server at Website B, is there anyway, from within Flash, to get the
  URL of the page at Website A?
 
  thanks! - rajat
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



--
Rajat Paharia
[EMAIL PROTECTED]
http://www.bunchball.com
http://www.rootburn.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders