| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: Feb 2004
Posts: 0
|
dynamic text - multiline
I have text coming in via remoting. I can see the text, however it will not multiline for some reason. I have checked the height of the text box and set it to 500 which should be sufficient. Anyone got any ideas? Here is the code: // CREATING HEADLINE TEXT FORMAT ///////////////////////////////////////// headformat = new TextFormat(); headformat.font = "HelveticaNeue Condensed"; headformat.bold = true; headformat.size = 36; headformat.multiline = true; createTextField("headLine",this.uiDepth++,13,17,11 4,500); // HEADLINE TEXT //////////////////////////////////////// headLine.text = result.items[0].c_Textline; headLine.selectable = false; headLine.multiline = true; headLine.setTextFormat(headformat); headLine.embedFonts = true; |
|
|
|
|
|
#4 (permalink) | |
|
Registered User
Join Date: Feb 2004
Posts: 0
|
Quote:
Its coming in from a database.. plus i like creating it dynamically cause its more organized. By the way - I figured it out if anyone needs to know for further use - just add this to the existing code headLine.wordWrap = true; |
|
|
|
|
#6 (permalink) | |
|
Registered User
Join Date: Feb 2004
Posts: 0
|
Quote:
thanks Brown... I haven't really done anything with it besides put some beats I made on it, but I wanna spend some time developing it within the next few months. |
|
|
![]() |