use _

mx.core.Application.application.parameters.myVar


You can pass vars to Flex2 app in two ways:-

1) Query string
2) Flash Vars

Since Flex 2 apps are mostly pre-compiled and deployed as SWF, unless you have Flex2
server running. FlashVars is the most common way to pass name-value pairs through html wrapper..

-abdul

On 9/2/06, Kyle < [EMAIL PROTECTED]> wrote:

Does anyone know how to retrieve variables from the embed tag from
within your flex app? With flash you can simply use _root.myVar and
access the variable if it is passed in through the embed, this doesn't
seem to work in flex..

Thanks!

-Kyle


__._,_.___

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





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to