all groups > macromedia flash flash remoting > july 2004 >
You're in the

macromedia flash flash remoting

group:

word wrap a dynamic list box


word wrap a dynamic list box kududesign
7/23/2004 2:40:06 PM
macromedia flash flash remoting:
I have a list component where the data is from a remote call, I want to have
more than one line for each item in the list eg:

LIST ITEM ONE
this is some extra text for item one
LIST ITEM TWO
this is some extra text for item two

Is this possible?
Re: word wrap a dynamic list box Vommit Monkey
7/23/2004 2:49:29 PM
Re: word wrap a dynamic list box kududesign
7/23/2004 2:56:16 PM
Thats what I tried and got no joy,
Re: word wrap a dynamic list box Desperatoo
7/23/2004 6:49:06 PM
Use checkbox with empty label and create textField next to checkbox. Code is
below.

var textLabel:TextField;
textLabel = this.createLabel("textCaption", this.getNextHighestDepth());
textLabel._visible = true;
textLabel.background = true;
textLabel.border = false;
textLabel.autoSize = "left";
textLabel.selectable = false;
textLabel.wordWrap = true;
textLabel.multiline = true;
textLabel.text = yourTEXT
textLabel._width = nLabelWidth;
textLabel._x = 0 or whatever;
textLabel._y = 0 or whatever;

Happy programming

Re: word wrap a dynamic list box Desperatoo
7/23/2004 6:49:46 PM
oh sorry was it listbox?

Re: word wrap a dynamic list box kududesign
7/25/2004 12:40:28 AM
AddThis Social Bookmark Button