A Flash Developer Resource Site

Results 1 to 10 of 10

Thread: Load external txt

  1. #1
    Member
    Join Date
    Jul 2002
    Posts
    69

    Load external txt

    Hello:
    What I´m trying to do is load an external text and would like to specify the font. I would like to use a Mandingo type and don´t know how it´s done. I´m using flash 5. Thanks in advance for anyone who helps

  2. #2
    Member
    Join Date
    Jul 2002
    Posts
    69
    No problem, just solved my problem

    <font face="Mandingo"> ............</font>
    and made my text dynamic and chose html.

  3. #3
    Member
    Join Date
    Jul 2002
    Posts
    69
    Hello: but now I have another.

    Flash won´t recognize some characters, for example this word=

    "pietà"

    it will only write to the piet

    And coded in html would be piet & agrave, is there a way to solve that problem.
    Last edited by spighita; 11-18-2002 at 01:30 PM.

  4. #4
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    Hello,
    Don't forget to embed the Mandingo font (and all outlines on others dummy textfields -> bold, italic if you use them) if you want all users to see that particular font.
    If you don't do that the Mandingo font will be replaced by some default system font available on user's machines.

    As for special characters, you need to "URL encode" your textfile:
    http://www.macromedia.com/support/fl...l_encoding.htm

    gparis

  5. #5
    Member
    Join Date
    Jul 2002
    Posts
    69
    Thank you, but can you help me a bit more on how to embed the font.

  6. #6
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    in "windows>panels>Character" you select your font from the dropdown menu then in "windows>panels> Text options" you click on "embed".
    gparis

  7. #7
    Member
    Join Date
    Jul 2002
    Posts
    69
    OK, i got that working but can you help me on 1 more thing. I need the txt file to justify to the flash txt frame. I mean I have a text that happens to go over more than the limits i have set for the frame (to the right) I can solve it solving the *.txt file but is there another way. I´ve tried <div align="justify">, but it won´t work.

  8. #8
    Member
    Join Date
    Jul 2002
    Posts
    69
    I have uploaded an example of what is happening to me.
    Attached Files Attached Files

  9. #9
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    again in the "Text options" check: "Word wrap"
    gparis

  10. #10
    Member
    Join Date
    Jul 2002
    Posts
    69
    YES, GREAT, thank you very much.

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