I don't think you can get the client's IP addy from ActionScript. What
you can do is use your server side language (in this case, ASP) to get
it and pass it into your Flex app as a query string param or flashVars
variable. Using flashVars and query string params are discussed here:

"Passing request data to Flex applications"
http://livedocs.macromedia.com/flex/15/flex_docs_en/00000930.htm

Hth,
Matt Horn
Flex docs 


> -----Original Message-----
> From: [email protected] 
> [mailto:[EMAIL PROTECTED] On Behalf Of James
> Sent: Thursday, August 25, 2005 10:05 AM
> To: [email protected]
> Subject: [flexcoders] Remote IP address
> 
> Good morning people,
> 
> Please excuse my problematic question. Can someone point me 
> in the right direction? 
> 
> I want to be able to get the client's ip address, in asp it would be:
>       
>               Request.Server.Variables("Remote_Adde")
> 
> Is there a comparable in Flex or what might be the best way 
> to obtain this?
> 
> Thanks
> James
> 
> 
> 
> 
> ------------------------ Yahoo! Groups Sponsor 
> --------------------~--> <font face=arial size=-1><a 
> href="http://us.ard.yahoo.com/SIG=12ho4hg25/M=362335.6886445.7
> 839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124985910
> /A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/to
> pics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http:
> //groups.yahoo.com/">In low income neighborhoods, 84% do not 
> own computers. At Network for Good, help bridge the Digital 
> Divide!</a>.</font> 
> --------------------------------------------------------------
> ------~-> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 


------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12h997gtv/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124988184/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!</a>.</font>
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to