dcsimg
A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: -----> % and non break gap how???

  1. #1
    Member
    Join Date
    Nov 2001
    Posts
    86

    -----> % and non break gap how???

    I have dynamically loaded text in my flash file.
    I have styled the external .txt filefile using HTML.

    My question is how can I put % symbol and non break gap in my sentence?
    What is the html code for it?
    Is this not supported in flash?
    Last edited by nick/slickrenderer; 07-10-2004 at 09:16 AM.

  2. #2
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    to use the % character in text loaded from a textfile you need to replace % with %25

    http://www.macromedia.com/support/fl...l_encoding.htm

  3. #3
    Member
    Join Date
    Nov 2001
    Posts
    86
    Thanks for the link.

    Anyone knows how to put non break text gap? in my.txt file that loads dynamically in my flash file????????

  4. #4
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    regular spaces? you don't need to do anything special, just type in as many as are needed in the text and by default the spaces will be preserved when flash displays the text.

    (unlike in an html page displayed in a browser where the space will get condensed)

  5. #5
    Member
    Join Date
    Nov 2001
    Posts
    86
    duh! thanks man here I was trying different tricks!!! :O

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