I think the best thing to do is pass the IP addy via a flashVars
variable. You do this by editing the HTML wrapper. You can look at the
example here, and modify it to fit your server technology (this example
uses JSP) and your variable input (this example uses query string
params):

http://livedocs.macromedia.com/flex/2/docs/00001005.html

hth,
matt horn
flex docs 

> -----Original Message-----
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of Sandeep Malik
> Sent: Wednesday, August 30, 2006 3:02 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: How to get client IP address in flex?
> 
> Like what kind of server script are we talking about here and 
> how do we execute a "server script" on the client side?
> 
> -Sandeep
> 
> --- In flexcoders@yahoogroups.com 
> <mailto:flexcoders%40yahoogroups.com> , "Abdul Qabiz" 
> <[EMAIL PROTECTED]>
> wrote:
> >
> > If you are wrapping SWF in server side script, you can easily use
> some
> > server-side code to find out. SWFs are executed on client and they
> can not
> > give IP address of client..
> > 
> > Doing server-side is quite straight forward...
> > 
> > -abdul
> > 
> > On 8/30/06, ?????? ???????? <[EMAIL PROTECTED]> wrote:
> > >
> > > You can trick with request to the server. ))
> > >
> > > Cheers,
> > > Mozilla By
> > >
> > >
> > > -----Original Message-----
> > > From: flexcoders@yahoogroups.com 
> > > <mailto:flexcoders%40yahoogroups.com>  
> > > <flexcoders%40yahoogroups.com>
> [mailto:
> > > flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>  
> > > <flexcoders%40yahoogroups.com>] On Behalf Of Sandeep Malik
> > > Sent: Wednesday, August 30, 2006 4:27 PM
> > > To: flexcoders@yahoogroups.com 
> <mailto:flexcoders%40yahoogroups.com>  
> > > <flexcoders%40yahoogroups.com>
> > > Subject: [flexcoders] How to get client IP address in flex?
> > >
> > > Hi Guys,
> > >
> > > Is there a way to find client IP (on which the swf file is
> running)
> > > through flex or flash?
> > >
> > > Cheers,
> > > Sandeep
> > >
> > > --
> > > Flexcoders Mailing List
> > > FAQ: 
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.t
> xt <http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> 
> > > Search Archives: http://www.mail-archive.com/flexcoders% 
> > > <http://www.mail-archive.com/flexcoders%>
> 40yahoogroups.com
> > > Yahoo! Groups Links
> > >
> > > 
> > >
> >
> 
> 
> 
>  
> 


--
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