G,

myMovie.swf?foo=whatever

Can be accessed from within flex as:

Application.application.parameters.foo

HTH,

Jeff

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of g_vaccarezza
Sent: Thursday, December 28, 2006 2:51 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] loading a external variable into a flex app


Guys,

I got to externally set a variable on a swf.
I have very limited knowledge but I do know that in a regular flash 
movie I can set a variable through a declaration within the object 
ember tag in the html:

myMovie.swf?variable=something

or through the <param> tag:

<param name="variable" value="something" />

Does this apply for an embedded flex movie? In that case, how should I 
read the variable from within flex?

Thanks!
-g



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



Reply via email to