Hi,

You should be able to see it while initialize. Can you please post your
code?

FlashVars are set before application initialization starts...Please check
your code again...

Also, you need to declare variables in your application, in order to use
passed vars..


##FlashVarsTest.mxml###
                                                                     -->
<mx:Application width="800" height="600"
xmlns:mx="http://www.macromedia.com/2003/mxml";  initialize="appInit()">

    <mx:Script>
        <![CDATA[

         var xx;
        function appInit() 
        {
            getURL("javascript:alert(" + xx + ");");    
        }

        ]]>
    </mx:Script>

</mx:Application>



Usage:

http://yourserver/FlashVarsTest.mxml?xx=100

You should see a js alert with 100 value...

-abdul

-----Original Message-----
From: viraf_bankwalla [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 22, 2005 6:09 PM
To: [email protected]
Subject: [flexcoders] flashvars



Hi,

At what stage are the flashvars set in the application?  I do not 
seem to have them set at initialize.

Thanks





 
Yahoo! Groups Links



 





 
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