Re: [flexcoders] Passing params to SWFLoader

2007-03-15 Thread feiy

u can do:

swf file url?sourceUrl=value

14 Mar 2007 23:56:24 -0700, danneri21 [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!!!

 





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


RE: [flexcoders] Passing params to SWFLoader

2007-03-15 Thread Tong Zou
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 daniel.a.neri@
mailto:[EMAIL PROTECTED] gmail.com: 

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








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

 


RE: [flexcoders] Passing params to SWFLoader

2007-03-15 Thread Tracy Spratt
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!!!




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

 



[flexcoders] Passing params to SWFLoader

2007-03-14 Thread danneri21
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!!!