# Columns in a flash textfield?

**URL:** https://forum.kirupa.com/t/columns-in-a-flash-textfield/186990
**Category:** Uncategorized
**Created:** [April 25, 2006, 9:07pm UTC](https://forum.kirupa.com/t/columns-in-a-flash-textfield/186990 "2006-04-25T21:07:26Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![treatkor](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/treatkor/32/680_2.png) [@treatkor](https://forum.kirupa.com/u/treatkor)
#### Post date: [April 25, 2006, 9:07pm UTC](https://forum.kirupa.com/t/columns-in-a-flash-textfield/186990/1 "2006-04-25T21:07:26Z")

</div>

anyone know of a good method for creating columns in a scrollable flash textfield? what i need is to imitate newspaper columns, so text will flow to fill the height of the textfield and then continue in a 2nd column. the only thing i can come up with is to fake it with 2 textfields side by side with a scroller that controls both. surely there’s a better way? (and i know about the Flashloaded component, but i’d prefer to do it myself.) any ideas/examples greatly appreciated.

---

<div class="post-metadata">

### Author: ![watcher](https://avatars.discourse-cdn.com/v4/letter/w/77aa72/32.png) [@watcher](https://forum.kirupa.com/u/watcher)
#### Post date: [April 25, 2006, 9:21pm UTC](https://forum.kirupa.com/t/columns-in-a-flash-textfield/186990/2 "2006-04-25T21:21:31Z")

</div>

> [@treatkor](#):
>
> anyone know of a good method for creating columns in a scrollable flash textfield? what i need is to imitate newspaper columns, so text will flow to fill the height of the textfield and then continue in a 2nd column. the only thing i can come up with is to fake it with 2 textfields side by side with a scroller that controls both. surely there’s a better way? (and i know about the Flashloaded component, but i’d prefer to do it myself.) any ideas/examples greatly appreciated.

Hi:)  
I am not sure… but maybe… only maybe you can use tabstops  
have a look at flash\_help[F1]\>supported html tags\> textformat tag\>tabstops

Please if you find a way/syntax how to use this in HTML, post it as a suggestion. I’ll try it out soon too, need it in one project; So who finds firsts, posts, oki?

EDIT: i think [this article](http://previous.emllabs.com/article.php?articleId=104) may help (not only to) you

EDIT2: this helped me a lot - so i am finished:

```auto
var txt = "<TEXTFORMAT LEADING='2' TABSTOPS='20, 50, 550'><P ALIGN='left'><FONT FACE='ARIAL' COLOR='#000000'><B>COASTAL</B><BR><TAB><B>Rose</B><BR><TAB>122<TAB>Chateau de Peyrassol &quot;Marie Estelle&quot;, Cotes du Provence Rose, Provence, France 2001<TAB>28<BR><TAB><B>White</B><BR><TAB>103<TAB>Domaine Louis Bovard...";

this.createTextField("test", 0, 0, 0, 700, 700);
test.multiline = true;
test.selectable = false;
test.wordWrap = false;
test.condenseWhite = true;
test.html = true;
test.htmlText = txt;

```

Best luck 🙂
