dcsimg
A Flash Developer Resource Site

Results 1 to 12 of 12

Thread: [Resolved] [Resolved] Help Help I am beeing oppressed

  1. #1
    Senior Member vevmesteren's Avatar
    Join Date
    Sep 2001
    Location
    Montréal, Québec
    Posts
    566

    resolved

    ok, here it goes. I am importing several txt files, now here is the problem, how do I display french letters like éÉàÀèÈçÇ, embdding the outlines doesn't do it for me because when I use that, the textbox just stays empty...

    other then that I have a couple of & that screw things up when I tried replacing them with their ASCII counterparts...

    Yeah that pretty much wraps it up....

    anyone? please, please, please....

    PS or does this mean I have to dig into XML<>Flash interaction real fast
    [Edited by vevmesteren on 04-11-2002 at 11:56 PM]

  2. #2
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    I'm a French-Canadian (un Québecois should I say!), a French keyboard and have no problems whatsoever in including accentuated letters in my files!

    Rather than the use of &'s in text files, you might try %130 and other extended ASCHII codes.

    %0D, for instance would be equivalent to a carriage return.

  3. #3
    Senior Member vevmesteren's Avatar
    Join Date
    Sep 2001
    Location
    Montréal, Québec
    Posts
    566
    bain merci mon amis. always good to have you guys around! thanks for your hospitality by the way, really like Montréal.

    got any good starters for where I should go look for ASCII tables, like a chart or something that I could use as lookup?
    'Cause when I use your %130 suggestion in my externally loaded textfile it doese not show up as a &

    any other suggestions out there in the field?
    [Edited by vevmesteren on 04-12-2002 at 12:39 AM]

  4. #4
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Looking to print accentuated letters of simply the ampersand?

    http://www.macromedia.com/support/fl...s/htmltext.htm

    &*amp; ...Without the asterix, should print an ampersand!

  5. #5
    Senior Member vevmesteren's Avatar
    Join Date
    Sep 2001
    Location
    Montréal, Québec
    Posts
    566
    actually I am trying to print both things, letters and amp's

    the macromedia zip...nope, no help, because as soon as the & symbol apears Flash thinks a new variable starts so it just excludes everything bhind that &-sign, So I guess there is no way of displaying that stuf by getting it from an external file huh, sad sad, sad, while eagerly awaiting your answers I surfed around, but no luck.

    Again, I will try to drill down to the core of my problem.
    I have two sperate files:
    1. FLA file (with an empty dynamic textfield)
    2. a *.txt document starting by &content=, this is followed by a hole bunch of text. First I just typed the french letters right in, but they displayed as squares (missing). I tried embedding the fonts (first All Characters then I tried it with typing in the french letters into the 'special character' option - all no good).

    The ASSCI %138; no luck, it displays it as a box...

    I repeat....

    help help I am beeing opressed!
    [Edited by vevmesteren on 04-12-2002 at 01:19 AM]

  6. #6
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    First of all, your text file shoudn't be starting with &content=... But only with content=... witout the ampersand.
    Second, are you using a standard font?

  7. #7
    Senior Member vevmesteren's Avatar
    Join Date
    Sep 2001
    Location
    Montréal, Québec
    Posts
    566
    define 'standard' I have tried Arial, Verdana, Times, Courier. I didn't have an & at the start, typo...sorry

    So are we done here, Do I have to hardcode the text into seperate frames instead?....or maybe XML can Help, I think I will try out that tomorrow. but now it is two in the morning, have to get up in four hours, for my other job...I hope I'll find some asnwers tomorrow

    thanks a lot though for the effort
    [Edited by vevmesteren on 04-12-2002 at 01:44 AM]

  8. #8
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Just tried it again with accentuated letters typed from my french keyboard, and although it works locally, I do get the "boxes" on the web!

    But did get to print an ampersand with %26 as you can see in my_textfield3 here:

    http://odin.prohosting.com/~oldnew/scrollbar1.htm

    Don't know anything about XML, but will keep looking into this also tomorrow!

  9. #9
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Ok! Found a solution that works for me on Flash France!

    http://odin.prohosting.com/~oldnew/scrollbar2.htm

    Check my_textfield3 (lower left)...

    Ampersand obtained with %26
    And the following accentuated letters when adding the following line on the first frame of my .fla:

    System.UseCodePage=true;

    If it works for you... You owe me one!

    Salut bien!



  10. #10
    Senior Member vevmesteren's Avatar
    Join Date
    Sep 2001
    Location
    Montréal, Québec
    Posts
    566
    goddamn, still no amp, it abbviousely wants to give me an amp, but it is the var problem again you see. Using amps to seperate one from the other.

    I got the french letters working after using your System.UseCodePage=true; , hey! it's 'half the rent' as they say in german, I am sure the amp will come along as well


    [Edited by vevmesteren on 04-12-2002 at 07:25 AM]

  11. #11
    Originally posted by vevmesteren
    ok, here it goes. I am importing several txt files, now here is the problem, how do I display french letters like éÉàÀèÈçÇ,
    I got it to work by escaping the characters with \u

    For example to display character Ç

    Use: \u00C7

    00C7 is the Unicode character for Ç. You can find the Unicode chars values by running Charmap.exe on Windows XP.

    If you running Mac OS X, you can use an application called FontChecker http://wundermoosen.com/ to find the Unicode char values.

    If you do not have XP, do a search on Google for Unicode character values.

    Hope this helps,

    -- Jossi

  12. #12
    Member
    Join Date
    Jul 2002
    Posts
    35
    Merci oldnewbie!

    You saved my day!

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