# How do i create Rows and Columns in text?

**URL:** <https://forum.kirupa.com/t/how-do-i-create-rows-and-columns-in-text/63853>\
**Category:** Uncategorized\
**Created:** [September 10, 2004, 4:04pm UTC](https://forum.kirupa.com/t/how-do-i-create-rows-and-columns-in-text/63853 "2004-09-10T16:04:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![GGROD](https://avatars.discourse-cdn.com/v4/letter/g/df788c/32.png) [@GGROD](https://forum.kirupa.com/u/GGROD)\
**Post date:** [September 10, 2004, 4:04pm UTC](https://forum.kirupa.com/t/how-do-i-create-rows-and-columns-in-text/63853/1 "2004-09-10T16:04:37Z")

</div>

any one know where I can find out what HTML tags Flash supports in its text areas?

I’ve got a list my customer wants on their site that needs to have rows and columns. I have this info in an external file but cannot seem to format it as rows and columns.

Any idea how to handle this?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 10, 2004, 5:17pm UTC](https://forum.kirupa.com/t/how-do-i-create-rows-and-columns-in-text/63853/2 "2004-09-10T17:17:47Z")

</div>

[http://www.macromedia.com/support/flash/ts/documents/htmltext.htm](http://www.macromedia.com/support/flash/ts/documents/htmltext.htm)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 10, 2004, 8:19pm UTC](https://forum.kirupa.com/t/how-do-i-create-rows-and-columns-in-text/63853/3 "2004-09-10T20:19:40Z")

</div>

That covers flash 5. I’ve heard it is different for MX 2004.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 11, 2004, 6:06am UTC](https://forum.kirupa.com/t/how-do-i-create-rows-and-columns-in-text/63853/4 "2004-09-11T06:06:39Z")

</div>

[http://livedocs.macromedia.com/flash/mx2004/main\_7\_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash\_MX\_2004&file=00001040.html](http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004&file=00001040.html)

for FMX2004

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 11, 2004, 6:11am UTC](https://forum.kirupa.com/t/how-do-i-create-rows-and-columns-in-text/63853/5 "2004-09-11T06:11:02Z")

</div>

The following code example uses the tabstops attribute of the \<textformat\> tag to create a table of data with boldfaced row headers:

Name Age Department  
Tim  
32  
Finance

Edwin  
46  
Marketing

To create a formatted table of data using tab stops:  
Using the Text tool, create a dynamic text field that’s approximately 300 pixels wide and 100 pixels high.  
In the Property inspector, name the instance table\_txt, select Multiline from the Line Type pop-up menu, and select the Render Text as HTML option.  
In the Timeline, select the first frame on Layer 1.  
Open the Actions panel (Window \> Development Panels \> Actions), and enter the following code in the Actions panel:  
//Creates column headers, formatted in bold, separated by tabs  
var rowHeaders = “\<b\>Name Age Department\</b\>”;

//Creates rows with data  
var row\_1 = “Tim 32 Finance”;  
var row\_2 = “Edwin 46 Marketing”;

//Sets two tabstops, to 50 and 100 points  
table\_txt.htmlText = “\<textformat tabstops=’[50,100]’\>”;  
table\_txt.htmlText += rowHeaders;  
table\_txt.htmlText += row\_1;  
table\_txt.htmlText += row\_2 ;  
table\_txt.htmlText += “\</textformat\>”;

The use of the tab character escape sequence ( ) adds tabs between each column in the table.

Select Control \> Test Movie to view the formatted table.
