mikey_wilko wrote:
> I have a flex app that has a swfLoader.  I am loading different swf's 
> in to the swfloader and they're all working fine.  With one particular 
> swf, it requires a flashvar.  I've tried the following format : 
> swfLoader.source="xxx.swf?id=2".  This just doesn't work.  However, 
> running from the HTML wrapper and setting the flashvar in HTML, it 
> does work, so the swf being called is working ok.  Is there any 
> different way of calling it from Flex??  Am I calling it the wrong way?

"flashvars" per se is an HTML tag. Query terms in URLs are passed by the 
browser. If you're loading one SWF within another then the browser isn't 
involved. You can use localConnect to talk to two different top-level 
SWFs, and direct addressing for a host SWF to talk to a guest SWF, right...?

jd





-- 
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.

Reply via email to