Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scrolling Text Box

Status
Not open for further replies.

AndyApp

Programmer
Dec 20, 2001
259
GB
Okay,
This has been asked and answered before, but as usual I always want more. (There's always one).

I have done the examples in the Flash 5 Bible using generator to build a scrolling text box, found some on Flash Kit, did them. All worked fine except I can't format the text to make it look like I want.

For example I need to be able to change the size and force a line break and have bullet points, etc, etc the usual HTMl formatting stuff.

Is this possible?
Thanks, Andy
 
flash will recognize fon attributes such as colour and size, as well as being able to parse
Code:
\n
as a new line. However it doesn't recognise HTML list formatting such as <ul> or <ol>.

As an example if you make a multiline dynamic text box and give it the variable _root.mytext, then insert the following in your first frame:

Code:
_root.mytext = &quot;<font size=\&quot;15\&quot; color=\&quot;#0066CC\&quot;>sthis text size 15 </font>\n<font size=\&quot;20\&quot;>this text on new line size 20</font>&quot;;

dave
dave@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^​
 
no problem
dave@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^​
 
Oops sorry dave must have been posting just after you Regards

Big Bad Dave

davidbyng@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top