I tried encodeURIComponent() last nite in my debugging, and for some reason it didn't work. But now I try it, and it does work for both browsers.
Sorry for getting us off track. I knew that our standard practice was to suggest that for any special flashvars, but again, when I tried it, something about the " (or ") characters caused it not to work in both browsers. Actually, now that I think about it, I think what I was doing wrong was doing encodeURIComponent() on the original data that had the ", which prevents both FF and IE from getting the right values (the literal "s) passed to it. But if you put your data in right, with literal " characters in it, and then you encode it, it seems to work well in both browsers. My bad. False alarm. --Kyle From: Anton Hughes Sent: Wednesday, June 10, 2009 5:21 AM To: [email protected] Subject: Re: flashvars data not working in Firefox Hi Bobby Thanks for your reply. And yes that does make sense - there are plenty of "&"s in the data. However I am able to pass the JSON data to Flex using Flashvars using Adobes AC_OETags.js. Please see the attached zip for an example. Kind regards, Anton --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
<<inline: Emoticon1.gif>>
