-
breaking multiline to single line
hi there
i have a dynamic text field which is multiline.
i want to know were the line break and to assign each line to a new var
i working with flash mx
thank
kuller
-
Make a copy of that textbox, make its hieght small such as 10 pix.
Break text into words and space. Add one word sequentially and monitor the maxscroll. Then we get the first word of each line.
I dont know what will you do about those lines.
Becareful, for dynamic textfield without embed fonts, the lines are rendered differently if you scale the movie. And,also, using the device font, the lines may be different in different Operation system.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|