I'm embarking on a project which will use text from 
a mySQL database and I will probably want to embed images and have links in the 
text.  The obvious way to do this is to encode the text as HTML, but my 
previous 
experience (with Flash MX 2004 Pro) was that the TextArea component was very 
broken and especially bad at rendering HTML.  In my last project that used a 
ton 
of text, I think I resorted to using TextFields with TextFormat objects to 
decorate the text (bold etc.) and I made my own scrollbars.  Obviously, I would 
prefer to use the prebuilt component, if it has been fixed in Flash 8.  (The 
worst bug was that using the scrollbar on the component selected all the text 
and I couldn't make it unselectable.)

 

Have they increased the puny amount of HTML that is 
allowed in Flash?

 

Have other people tried to use CSS in Flash?  I 
read the docs and it seemed cumbersome but I have enough text to process in 
this 
project that it may be worth the trouble.

 

If I don't mark up the text itself as HTML, I will 
have to do a bunch of string searching (which doesn't seem to be provided for 
with library functions in Flash) to locate the words that I will need to 
boldface, plus making them clickable could be very painful if I have to attach 
invisible buttons above the textfield, for example.  (Positioning the buttons 
sounds very painful!)

 

Millie Niss
[EMAIL PROTECTED]
http://www.sporkworld.org


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to