You need to make sure you run encodeURIComponent() on your flashvars to 
properly escape it.

--Kyle




--------------------------------------------------
From: "Bertrand" <bertrand.char...@gmail.com>
Sent: Tuesday, July 07, 2009 12:06 PM
To: "SWFObject" <swfobject@googlegroups.com>
Subject: Passing object in the flashvars

>
> Hi,
>
> Earlier today, I tried to pass an object in the flashvars (something
> like var flashvars = {'key1':'value1', 'key2':{'prop1':'val1',
> 'prop2':'val2'}};) but my coworker (which works on the ActionScript
> side) wasn't able to access the properties of that object (he was
> getting an error #1069).
>
> Is there a way to pass objects to ActionScript/Flash through SWFObject
> flashvars?
>
> Thanks and feel free to disregard that post if you deem it off-topic.
> >
> 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to swfobject@googlegroups.com
To unsubscribe from this group, send email to 
swfobject+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to