Results 1 to 5 of 5

Thread: Dynamic Flash Text Box - HTML

  1. #1
    Join Date
    Jul 2007
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Dynamic Flash Text Box - HTML

    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

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Flash supports a small subset of HTML and CSS. Turn HTML all for that that textfield and pass in HTML.

    Code:
    textfield.html= true;
    textfield.htmlText = "This is <b>bold</b>";

  3. The Following User Says Thank You to Medyman For This Useful Post:

    jessica_r (11-24-2008)

  4. #3
    Join Date
    Jul 2007
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    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?

  5. #4
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    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.

  6. The Following User Says Thank You to Medyman For This Useful Post:

    jessica_r (11-26-2008)

  7. #5
    Join Date
    Jul 2007
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    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

    I have selected the area to be bold/underline and then normal font. At the moment it is all normal text

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •