Embedded font in TextField.htmlText

Hi,

I’ve been searching all day and haven’t found a proper solution for this.
I have 3 embedded fonts in my library and I have given them a class name.

Now I would like to use these fonts in HTML in a TextField object.
How do I do this? I created a stylesheet and entered the font name, but
it still picks it from my harddrive, because it doesn’t work on other computers
where the font is not installed.

I have a font embedded named “Edo”, and gave it the classname Edo.


   styleSheet    = new StyleSheet();
   var body:Object = new Object;
   body.fontFamily = Font(new Edo()).fontName;
   body.fontSize = "12px";
   body.color  = "#ff0000";
   body.fontStyle = "italic";
   styleSheet.setStyle("body", body);
   textField.styleSheet = styleSheet;
   textField.htmlText = "<body><i>asfdasfdasdf</i></body>";

Yet, it shows up as Times New Roman on PC’s without the font.
Can anybody help?