The problem seems to be in what Javascript is sending to the swf.

Try url encoding the link with the escape function in JS.

Something like:

'flashvars':escape('link=
http://www.google.com?test=1&test2=2&test3=3&test4=4')


Cheers
Juan Pablo Califano

2008/5/20, ACE Flash <[EMAIL PROTECTED]>:
>
> 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
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to