A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Tag problems... spaces are gone!

  1. #1
    Angkor-What? Gekke_Hollander's Avatar
    Join Date
    Jun 2000
    Location
    Netherlands
    Posts
    234

    Tag problems... spaces are gone!

    Hi all,

    I'm writing html text to a filed like so:

    Code:
    tekst.htmlText = '<i>italic</i> <U>underline</U>';
    But the outcome is as followed:

    italicunderline

    The space in between is gone... any reason for this to happen?

    Cheers
    MX 2004 Pro - Oops I did it again!!!
    SWF, it's a journey... not a destination

  2. #2
    Angkor-What? Gekke_Hollander's Avatar
    Join Date
    Jun 2000
    Location
    Netherlands
    Posts
    234
    ahhhh....

    PHP Code:
    tekst.htmlText "<p class='content'><i>molestie</i>&nbsp; <u>pharetra</u></p>"

    does work... so Flash counts
    HTML Code:
     nbsp; + ' '= single space
    me flash me dumb...

    Cheers
    Last edited by Gekke_Hollander; 01-26-2006 at 12:32 PM.
    MX 2004 Pro - Oops I did it again!!!
    SWF, it's a journey... not a destination

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center