# Embed multiple fonts for html text

**URL:** <https://forum.kirupa.com/t/embed-multiple-fonts-for-html-text/308438>\
**Category:** Uncategorized\
**Created:** [April 22, 2010, 7:52pm UTC](https://forum.kirupa.com/t/embed-multiple-fonts-for-html-text/308438 "2010-04-22T19:52:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ArchemyDesign](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@ArchemyDesign](https://forum.kirupa.com/u/ArchemyDesign)\
**Post date:** [April 22, 2010, 7:52pm UTC](https://forum.kirupa.com/t/embed-multiple-fonts-for-html-text/308438/1 "2010-04-22T19:52:11Z")

</div>

I am trying to embed multiple fonts into my input textfield for my html document to display different fonts. How do I do this?

My html …

\<font style=“Arno Pro” color="#99CC00" size="+3"\>TITLE\</font\>\<br /\>  
Paragraph words …

My AS …

var req:URLRequest=new URLRequest(“document.txt”);  
var loader:URLLoader = new URLLoader();

function textLoaded(event:Event):void {  
Text.htmlText=loader.data;  
}

loader.load(req);  
loader.addEventListener(Event.COMPLETE, textLoaded);
