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 may help (not only to) you
EDIT2: this helped me a lot - so i am finished:
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 "Marie Estelle", 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