So if you unescape the chars inside your swf using unescape(String) before
displaying, then you should be all good. You will need to ensure you have
those characters embedded in your font file withing Flash too.
so on the js side you will want to do something like:
var foo = escape('Bitte warten während die Application heruntergeladen
wird');
//which gives you:
Bitte%20warten%20w%E4hrend%20die%20Application%20heruntergeladen%20wird
so.addVariable("str_installingtext", foo);
On the Flash side:
foo = unescape(foo);
Cheers,
Aran
On Mon, May 31, 2010 at 10:13 PM, design <[email protected]> wrote:
> I don't how to use properly the characters like :ä, ü, é, ' into my
> javascript script attached to my swfObejct.
> e.g.:
> so.addVariable("str_installingtext", "Bitte+warten+Sie%2C+w%E4hrend+die
> +Applikation+heruntergeladen+wird.");
>
> I should be able to see:
> Bitte warten während die Application heruntergeladen wird.
>
>
>
> <script type="text/javascript" charset="ISO-8859-1">
>
> // <![CDATA[
> // version 9.0.115 or greater is required for launching AIR
> apps.
>
> var so = new SWFObject("AIRInstallBadge.swf", "",
> "215", "180",
> "9.0.115", "#000000");
>
> so.addVariable("airversion", "1.5.3.9130");
>
> so.addVariable("appname", "LeShop.Widget");
>
> so.addVariable("appurl", "http:/....air");
>
> so.addVariable("image", "http://....jpg");
>
> so.addVariable("appid", "LeShopWidget");
>
> so.addVariable("appversion", "v1.1");
>
> so.addVariable("hidehelp", "true");
>
> so.addVariable("str_error",
> "Ein%20Fehler%20ist%20aufgetreten");
>
> so.addVariable("str_err_params",
> "Die+Installierungs-Parameter+sind
> +ung%FCltig.");
>
> so.addVariable("str_err_airunavailable",
> "Adobe%20AIR%E2%84%A2%20ist
> %20nicht%20kompatibel%20mit%20Ihrem%20Betriebssystem.");
>
> so.addVariable("str_err_airswf",
> "Adobe%20AIR%E2%84%A2%20konnte
> %20nicht%20heruntergeladen%20werden.");
>
> so.addVariable("str_loading", "Wird%20geladen%E2%80%A6");
>
> so.addVariable("str_install", "Jetzt%20herunterladen");
>
> so.addVariable("str_launch", "Starten");
>
> so.addVariable("str_upgrade", "Jetzt%20aktualisieren");
>
> so.addVariable("str_close", "Schliessen");
>
> so.addVariable("str_tryagain", "Erneut%20versuchen");
>
> so.addVariable("str_launching",
> "Start%20der%20Applikation");
>
> so.addVariable("str_launchingtext",
> "Bitte+warten+Sie%2C+w%E4hrend
> +die+Applikation+gestartet+wird.");
>
> so.addVariable("str_installing", "Herunterladen");
>
> so.addVariable("str_installingtext",
> "Bitte+warten+Sie%2C+w%E4hrend
> +die+Applikation+heruntergeladen+wird.");
>
> so.write("flashcontent");
>
> // ]]>
> </script>
>
> thank's for you help
>
> --
> 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]<swfobject%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/swfobject?hl=en.
>
>
--
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.