Appreaciate the help but thats not what i was asking. I am loading an swf into another swf and need the swf to be loaded using flashvars parameters. Loading this swf from an html file with flashvars works fine but not from another swf. :-)
--- In flexcoders@yahoogroups.com, "Paul Andrews" <[EMAIL PROTECTED]> wrote: > > > ----- 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 >