Not signed in (Sign In)

Vanilla 1.0.3 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorflaaam
    • CommentTimeMar 26th 2007 edited
     
    I got a problem with uses of swfOject i think
    I got a file TextEditor.swf , a swf module developped for using html content.
    In my php page, I call this file using swf objEct and passing in variables a data stored (MY_DYNAMIC_DATA) in a mysql database.

    script :
    var o_moduleTextEditor = new SWFObject("swf/modules/common/TextEditor/TextEditor.swf", "TextEditor", "400", "250", "9", "#ffffcc",false);
    o_moduleTextEditor.addVariable("_texte",MY_DYNAMIC_DATA);

    But How can i do to send text like "Bonjour l'atruiste,"'"'"'"''''' '' ' '' '" " etc in my swf file ??? i have tested several ways with escaping the texte but no way

    Can i have some help please
    • CommentAuthorGeoff
    • CommentTimeMar 26th 2007
     
    you just need to escape the string -

    either manually convert it to http safe chars, or use something like encodeURIComponent() to do it.