A Flash Developer Resource Site

Results 1 to 6 of 6

Thread:   replacement in a external html text file?

  1. #1
    Member
    Join Date
    Jan 2003
    Location
    Trois-Rivières, Quebec!
    Posts
    48

      replacement in a external html text file?

    I import my text from a external text file, my text is in html but i have to use a (& n b s p ; ) space to make sure that a part of my text will not drop down on the following line. The (& nbsp; ) code is not understood by flash and make all the following text desappeared. Is someone have an issue for this?

    thanks
    merci
    Last edited by vakarm; 02-13-2003 at 01:02 PM.
    L'important c'est que ça VARGE!

  2. #2
    An Inconvenient Serving Size hurricaneone's Avatar
    Join Date
    Mar 2001
    Location
    You know where
    Posts
    1,918
    This might be an over-simplification of your problem, but can't you just set your dynamic textfield to 'single line' to stop the line break, then make your textbox large enough to hold the text?

    Feel free to counter this with, 'but you don't understand...', as it's quite possible I don't.

    Stand by for emergency synapse rerouting

  3. #3
    An Inconvenient Serving Size hurricaneone's Avatar
    Join Date
    Mar 2001
    Location
    You know where
    Posts
    1,918
    Had a brainstorm - try replacing occurrences of & n b s p with %20.

    (Now I see why you spaced & n b s p !! )
    Stand by for emergency synapse rerouting

  4. #4
    Member
    Join Date
    Jan 2003
    Location
    Trois-Rivières, Quebec!
    Posts
    48
    Cool, seems to work! Is there many other codes that can be wrote this way? Do you know where i can have a list (a link) ?
    L'important c'est que ça VARGE!

  5. #5
    Member
    Join Date
    Jan 2003
    Location
    Trois-Rivières, Quebec!
    Posts
    48
    Whait no, %20 makes a space, but do not work like nbsp, cause my text is dropping down on the following line again, but i replaced the "&" by a %26 (yeah i fond a list) to write %26nbsp; and it works!! thanks a lot!
    L'important c'est que ça VARGE!

  6. #6
    Junior Member
    Join Date
    Nov 2009
    Posts
    1

    Thumbs up

    Thanks a lot!! It really helps me

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