If you read Paul's link you will see that are other ways to read parameters
than urlvars. As you do not have access to url vars when loading inside
another swf use the technique described in the post...

On Mon, Dec 8, 2008 at 4:28 PM, ericbichara <[EMAIL PROTECTED]> wrote:

>   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 [email protected] <flexcoders%40yahoogroups.com>, "Paul
> Andrews" <[EMAIL PROTECTED]> wrote:
> >
> >
> > ----- Original Message -----
> > From: "ericbichara" <[EMAIL PROTECTED]>
> > To: <[email protected] <flexcoders%40yahoogroups.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&param2=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
> >
>
>  
>



-- 
Fotis Chatzinikos, Ph.D.
Founder,
Phinnovation
[EMAIL PROTECTED],

Reply via email to