View Full Version : Dynamic Flash Text Box - HTML
jessica_r
11-24-2008, 06:10 AM
I'm currently using Flash 8 and have a Dynamic Flash Text Box with scrolling text.
As the text is all in one text box, when I press bold it selects the whole thing. How do I go about if I want to have a mixture of bold/underline/italics etc in one text box?
I tried to research and think it involves HTML but I don't know how to do it. Any help would be appreciated :) Thanks
Medyman
11-24-2008, 01:51 PM
Flash supports a small subset of HTML and CSS. Turn HTML all for that that textfield and pass in HTML.
textfield.html= true;
textfield.htmlText = "This is <b>bold</b>";
jessica_r
11-24-2008, 10:06 PM
Sorry I'm really blind with flash.
So far I have set the text box as dynamic, and have the scroll arrows. Everything works when I preview it so that the text scrolls. I just want to bold and underline some lines.
Where do I type that code?
Medyman
11-24-2008, 11:25 PM
Where the code for the scrolling is. Just add it right under. If you can't get it, post the code that you have or zip up your .fla.
jessica_r
11-25-2008, 12:10 AM
Argh I did this a while ago with a tutorial and have lost the link. so Cant find out where my code was. (As you can see I'm very blind with flash)
I have uploaded the file here: http://www.sendspace.com/file/ib3r6o If someone can help me out that would be awesome :D
I have selected the area to be bold/underline and then normal font. At the moment it is all normal text
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.