So after a lot of reading and digging around, I found that I can
access HTTP GET arguments that are provided in the call to a FLEX swf
if the URL is:
http://www.foo.com/bar.swf?var=woot

Then the following label will print woot:
  <mx:Label id="var" x="10" y="10"
text="{Application.application.parameters.var}" />


So here is my question for the list: Is this the right way to do this?

My goal here is to integrate a FLEX 2.x app into an existing php
application -- and the authentication is already done using a php
module there.  So I'm planning to passing some type of authenticated
key to the swf that it will use to continue the state between the
authenticated php user.  Is there a better way to (without changing
much code in the existing php web page) share the state with my Flex
2.x swf?

Thanks for any help provided. 

::Mark






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

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