Hi,
I’m trying to send a string from flash to javascript. The string can contain anything, from XML to quotes, symbols etc…
I’ve URL encoded the string, eg :
var u:URLRequest = new URLRequest(“javascript:showEditor(‘hello%20%27%3Cbr%20/%3E’)”);
navigateToURL(u,"_self");
but it I’m still getting an error in firefox:
Syntax error - showEditor('hello ‘<br />’)
Can anyone shed some light on this please.
Many thanks