srujanmiryala
asked on
Flex Autoscrolling textComponent
Hello All,
I am working on autoscrolling of text . when the application is loaded the component gets the data from xml file using http service.
i need to make the text which is displayed in the autoscrolling component as multiline.
Right now i did not given any width for the autoscroll component. when i mention width property i am unable to see the complete text.i need to make this text to multiline or wordwrap when i fix the width property .
how to achive this .
ScrollingData.txt
ScrollingData.txt
test.xml
I am working on autoscrolling of text . when the application is loaded the component gets the data from xml file using http service.
i need to make the text which is displayed in the autoscrolling component as multiline.
Right now i did not given any width for the autoscroll component. when i mention width property i am unable to see the complete text.i need to make this text to multiline or wordwrap when i fix the width property .
how to achive this .
ScrollingData.txt
ScrollingData.txt
test.xml
ASKER
Attached Scrolling text Component
ScrollingText.txt
ScrollingText.txt
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I will do that and let you know the result
ASKER
Hey man8473,
Thanks for the help.
Now i am using UITextField in place of Text. it is working fine.
Thanks for the help.
Now i am using UITextField in place of Text. it is working fine.
awesome, glad I could help....
On the assumption that your scrollingText component extends Text, you should know that Text class extends the Label class which supports single line text only.
Ii suggest you look at using the mx.core.UIFieldText class that supports mulit-line text and scrolling
I had a similiar issue where I was trying to add mulitline text to Checkbox labels, obviously the label only supports sinlge line text...attached is the custom class I wrote to get around the issue....it might help
Alternatively update the code samples you attached so I can have a look at the ScrollingText component.
Open in new window