Hi,

Ditch the brackets and escape your ampersands. I think it's %26. Since you
can pass multiple variables to flash vars, you're actually getting variables
in your root named test2, test3 etc.

-jonathan


On Tue, May 20, 2008 at 3:33 PM, ACE Flash <[EMAIL PROTECTED]> wrote:

> humm I have tried to put the string in [ ]
> 'flashvars':'link=[http://www.google.com?test=1&test2=2&test3=3&test4=4]<
> http://www.google.com/?test=1&test2=2&test3=3&test4=4>
> '
>
>
> it still search from "link=" and stop on the frist params which is &test=1
> in this case. Is there any way to handle this in AS2?
>
> Cheers
>
>
>
>
> On Tue, May 20, 2008 at 3:28 PM, ACE Flash <[EMAIL PROTECTED]> wrote:
>
> > Hey there,
> > I was trying to figure out how to handle this in Action Script 2, the url
> > link string gets truncate and stops at test=1. It's weird, is there any
> > limitation for handle this in AS2?
> >
> > Thanks
> >
> > =============== action script in test.swf ==============
> > // reads url links from FlashVars in HTML code
> > var theLink:String = _root.link;
> >
> > // now I get http://www.google.com?test=1<
> http://www.google.com/?test=1&test2=2&test3=3&test4=4>
> >  ONLY
> > getURL(theLink, "_blank");
> >
> >
> > ================= embedding code in HTML=============
> >
> >     var FO = {
> >      movie:'http://www.google.com/test.swf,
> >      width:'100',
> >      height:'200',
> >      majorversion:'8',
> >      build:'0',
> >      name:'sidebarFlash',
> >      id:'sidebarFlash',
> >      'flashvars':'link=
> > http://www.google.com?test=1&test2=2&test3=3&test4=4<
> http://www.google.com/?test=1&test2=2&test3=3&test4=4>
> > '
> >     };
> >     UFO.create(FO, 'sidebar');
> > ===============================================
> >
> >
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
-jonathan howe :: 404.434.2321 :: 180 High St Apt 26 Portland, ME 04101
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to