You can also get a reference to the contents of the loaded swf and access 
public members directly.  It is pretty simple, but ther are data type and 
timing issues.

 

Let me know if you want an example.

 

Tracy

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tong Zou
Sent: Thursday, March 15, 2007 10:09 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Passing params to SWFLoader

 

I also have the same problem. This approach seems to only works for the 
non-embedded case. 

 

-tong

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of feiy
Sent: Thursday, March 15, 2007 12:28 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Passing params to SWFLoader

u can do:

swf file url?sourceUrl=value

14 Mar 2007 23:56:24 -0700, danneri21 <[EMAIL PROTECTED] <mailto:[EMAIL 
PROTECTED]> >: 

I want to import an SWF file into my application but I need to pass a
crucial string to it, "sourceUrl", how do I do this?

How do I pass what you would write in html
<param name="Min" value="0" />

How would I pass that to the SWF being loaded using SWFLoader in flex?

Thanks!!!




-- 
闲云孤鹤 - 清冷香中抱膝吟 

 

Reply via email to