# HTML in actionscript

**URL:** <https://forum.kirupa.com/t/html-in-actionscript/91297>\
**Category:** Uncategorized\
**Created:** [October 1, 2003, 3:54pm UTC](https://forum.kirupa.com/t/html-in-actionscript/91297 "2003-10-01T15:54:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![faceoff305](https://avatars.discourse-cdn.com/v4/letter/f/439d5e/32.png) [@faceoff305](https://forum.kirupa.com/u/faceoff305)\
**Post date:** [October 1, 2003, 3:54pm UTC](https://forum.kirupa.com/t/html-in-actionscript/91297/1 "2003-10-01T15:54:40Z")

</div>

I’m trying to write HTML in actionscript but I can’t get it to work. I’ve already given my createTextField code HTML capabilities, but I can’t remember the correct way to write the code…"\<b\> something\</b\>"…I know there is a certain way your suppose to put the marks to make them work…

this is the code I used

createTextField(“info”, 1, 25, 79.3, 330, 185);  
with (info) {  
wordwrap = true;  
html = true;  
htmlText = “this is how it is \<b\>written\</b\>”;  
}
