bold/italic tags embedded fonts don't work
I've added all 3 variations of the same font 'EuroComic' into the Library. Regular, bold and Italic. Flash sees them as belonging to the same font family:

Now I'm using this code to place a dynamic textfield on screen.
import flash.text.*;
var myTextBox:TextField = new TextField();
var myText:String; myText = "<font size='30' face='EuroComic'>This sentence is in regular font<br/>";
myText += "<b>This sentence is in bold font</b><br/>";
myText += "<i>This sentence is in italic font</i></font>";
myTextBox.width = 500;
myTextBox.height = 200;
myTextBox.multiline = true;
myTextBox.embedFonts = true;
myTextBox.wordWrap = true;
myTextBox.border = true;
addChild(myTextBox);
myTextBox.htmlText = myText;
I'm using the bold and italic tags inside the htmltext string for the 2nd and 3rd sentence which should turn bold and italic, but they don't all text remains in the regular style font.

It should turn into this, which I got after commenting the embedFonts line, but then of course it's not using the embedded fonts but the fonts activated on my machine.

What is wrong with my code? I know I could use css, but I'd like to know why my code isn't working like I expect it to. When not using embedded fonts the bold/italic tags work, but then a default font is used. Why won't they work when I want to use them on embedded fonts?
The used font and flash file can be downloaded from: http://pastelink.me/dl/a43c74 so you can try it yourself.
Using CS6 for Mac.
