Skip to main content
lxx33
Participating Frequently
November 27, 2014
Question

Embed euro symbol htmlText won't work. Result is small box. Font arial bold. Euro symbol is included in special characters (embed menu)

  • November 27, 2014
  • 1 reply
  • 733 views

I want to output txt files in html format. Everything works as it should, only the euro symbol will not show.  I want htmlText, because this way I can underline some parts of the text, make color changes ect. ect. I cannot output the euro symbol. I've tried embedding but with no result.

This topic has been closed for replies.

1 reply

Inspiring
November 27, 2014

-deleted-

Inspiring
November 27, 2014

Testetd Arial Bold with Flash CC on Win7. Works as expected.

Inspiring
November 27, 2014

I will check the TextFormat, if I can find a tutorial.

Now i have as code:

var loaderSoortjesNl:URLLoader = new URLLoader(new URLRequest("soortjes_nl.txt"));

loaderSoortjesNl.addEventListener(Event.COMPLETE, completeHandlerSoortjesNl);

function completeHandlerSoortjesNl(event:Event):void {

    var loadedText:URLLoader = URLLoader(event.target);

    textSoortjesNl.htmlText = loadedText.data;

}

soortjes_nl.txt have the following inside.

<u>test</u>

test

<u>€</u>

at the moment it will output in:

test

test

instead of:

test

test


Because it's a menu with some prices in it, the euro symbol (i use ctrl+alt+5) is for me real important.


you should not use newLines in htmlText but <br> tag.

<u>test</u><br>test<br>€<br><u>€</u>