LLTI Archives

February 2003, Week 4

LLTI@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
LLTI-Editor <[log in to unmask]>
Reply To:
Language Learning and Technology International Information Forum <[log in to unmask]>
Date:
Fri, 28 Feb 2003 15:35:01 EST
Content-Type:
text/plain
Parts/Attachments:
text/plain (68 lines)
--- Forwarded Message from jeremy c munson <[log in to unmask]> ---

>Date: Thu, 27 Feb 2003 07:08:29 -0800 (PST)
>From: jeremy c munson <[log in to unmask]>
>To: Language Learning and Technology International Information Forum    <[log in to unmask]>
>Subject: Re: #7053 Unicode input in Flash MX
>In-Reply-To: <[log in to unmask]>

------------------

Essentially you have to load the text dynamically through a text file...
the text file contains actionscript code that is loaded before the movie,
but treated just as if it was inside the movie. The text file is saved as
unicode type UTF-8, and then you change the file extension to ".as"
instead of ".txt"; Then, in the first frame of your actual movie in the
actionScript, you type:

#include "myUTF8file.as"

Inside the ".as" file you must have the following header as the first
line:

//!-- UTF8

then you continue to dynamically load unicode text such as:

myTextBox.text = "?????";


Where you see the ???? is where the unicode text appears. Remember to
write your .as file using a unicode font, of course.

For more information, goto:

http://www.macromedia.com/support/flash/ts/documents/unicode.htm

or do a web search for Flash MX and Unicode, as Macromedia's site isn't
always the most clear.

Hope this helps.

Jay
University of Washington



On Thu, 27 Feb 2003, LLTI-Editor wrote:

> --- Forwarded Message from Bahman Zakeri <[log in to unmask]> ---
>
> >Date:         Tue, 25 Feb 2003 08:45:16 -0500
> >From: Bahman Zakeri <[log in to unmask]>
> >Subject:      Unicode input in Flash MX
> >To: [log in to unmask]
> >cc: Bahman Zakeri <[log in to unmask]>
>
> How do I enter text in languages other than English in Flash text input
> area?
> I have a Flash movie that has a text input area and since Flash MX is
> unicode compliant
> (http://www.macromedia.com/support/flash/languages/unicode_in_flmx/), I
> thought that any language can be typed in to the input area. But as it
> turns out, I can't enter any of the languages I tried (Russian and Farsi)
> and I do this by changing my regional settings in Windows.
> Has anyone ever tried to create a text input for languages other than
> English?
>

ATOM RSS1 RSS2