----- Original Message ----- From: "ericbichara" <[EMAIL PROTECTED]> To: <flexcoders@yahoogroups.com> Sent: Monday, December 08, 2008 12:25 PM Subject: [flexcoders] Loading swf with flashvars into Flex
> Hi, > > I have several widgets which use flashvars and i wanted to create a > gallery application to showcase them in flex. I need to therefore load > them into flex and pass flashvars parameters into the loaded swfs. I > tryed the following: > > <mx:SWFLoader source='http://myurl/myapp.swf?param1=blah¶m2=blih'/> > > but the loaded swf says the params are null. Is there some way to do > this? I dont want to have to change all the widgets to be able to > recieve these parameters some other way than flashvars as they do now. > Thanks in advance. Google is your friend.. http://blogs.adobe.com/pdehaan/2006/07/using_flashvars_with_actionscr.html > > /Eric