I'm trying to embed a handful of European language characters into a little flash news ticker (Swedish, Norwegian and some others).
I'm embedding my swf file in the html and passing a FlashVars variable
This is the text that the ticker displays.
For some reason the swf doesn't render the character when I put a foreign character such as å, Å, ä, Ä, ö, Ö in the HTML. I have embedded all these fonts in the dynamic text box in my .fla
Attached is the .fla and .html file where you can input the text for the swf to display. Please have a look for me! (attached zip at bottom of post)
Thanks.
PHP Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Flashvars Example</title> </head>
var paramObj:Object = LoaderInfo(this.root.loaderInfo).parameters; var myWidth:Number; var timer:Timer = new Timer(1000, 1); var speed:int = paramObj["speed"];