Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Typing & Saving Asian Text



Hi all!

hello, am quite new to the forum here, so do pardon me if i do ask any noob questions i was wondering if someone could advise me if it was possible to do a flash form to allow asian text to be typed in and saved to a text file. I am required to do it for work & honestly, I don't quite know where to start as I'm more an animator...

Would appreciate all help & comments. Thanks a bunch!



KirupaForum > Flash > Flash 8 (and earlier)
Posted on: 10-05-2007, 01:51 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Ghost Typing (or Self Typing Text)
I am new to Flash and was wondering if anyone knows a less than incredibly tedious way to set up a body of text to animate as if being typed by a "ghost typer" (for lack of better terminology). You have seen this all before in any movie with computers... the text scrolls across the screen letter by letter, stops, goes away, and then a new scroll of text appears on the screen, as if someone was entering the text while you were reading it. I have figured out one way by giving each letter a frame and animating that sequence, but this is incredible tedious and time consuming. If anyone has a better method please let me know. Thanks.

Asian Text In Action Script
Hey,

I have to translate a flash file in korian and all the text files go smothe but when i paste in action script i see squarse :S, this action script calls for text to go treu a banner verrie smooth. How can i let actionscript see korian?

PS i also have to do japaneese later

Embedding Asian Fonts In Dynamic Text Fields...
Hi,

I am wondering what asian people are used to do regarding dynamic textfields ?

I have no problems having japanese or other asian languages work when loaded from an XML file, but I don't know what to do about embedding fonts in the text field.

For example, do Japanese texts usually need the Kanjis to be included (3 174 glyphs !) ? Or are the Kanas enough ? Or maybe all the glyphs are required (7517 glyphs !!) ?

Ideally, I'd like to include the glyphs so the texts will anti-alias, but if this implies including at least the kanjis and the kanas, I assume I have to forget anti-aliased text or my flash will weight mega-octets (I have tested it) !

The same with traditional Chinese level 1 (560 glyphs), simplifyed chinese level 1 (13746 glyphs), etc.

So basically, I think all my question can resume in one : does anybody know if Japanese and Chinese people are used not to embed fonts in dynamic text fields because they need too many glyphs ?

Thanks for any help, especially from Japanese people, Chinese people or other people that live in Asian countries !!

_marabout_

Text Typing
I want to make some text appear as if it is being typed. How would I make an effect like this: http://www.rastelli.com/AR.html I like the way his text in the top left comes in.

Typing Text
okay so I followed the tutorial on the site for the text that types its self out but it dosent seem to work..Heres a link to the .fla if anybody could help me i'd appreciate it.

http://www.somebody509.us/somebody50...es/aboutme.fla

Typing Text?
im sure this has been covered somewhere,
but i cant seem to find it.

would anyone be so kind as to direct me to the post where they explain the text mask at http://www.yugop.com/?

-where it goes from all random characters " (!@&$(!@$!@$ " to words?

thankye

Text Typing Out...
How can I make it so text looks like it is being typed out?

FOr example:
frames..
1: t
2:th
3:the
4:the c
5:the ca
6:the cat


but for a bunch of text without typing each letter in frame by frame? any code? any ideas?

thanks
J

Typing Text Effect....
this is the function i wrote in _root

function typeText(text){
_root.text = text;
if (this._currentframe<=_root.text.length+2) {
_root.textField = _root.text.substr(0, this._currentframe);
trace(this._currentframe);
}
if (this._currentframe>_root.text.length and this._currentframe<=_root.text.length+3) {
_root.textField = "";
} else if (this._currentframe>_root.text.length+3) {
this.gotoAndPlay(1);
}
}


and i call my function in a onject... by using this...

onClipEvent (enterFrame) {
_root.TypeText("VIVA WEB DESIGN");
}


but if i didnt call the funtion and add the statments directly into the object... like this...

onClipEvent (enterFrame) {
_root.text = "WEB_DESIGN";
if(this._currentframe <= _root.text.length + 2){
_root.textField = _root.text.substr(0, this._currentframe);
trace(this._currentframe);
}
if(this._currentframe > _root.text.length and
this._currentframe <= _root.text.length + 3){
_root.textField = "";
} else if (this._currentframe > _root.text.length + 3) {
this.gotoAndPlay(1);
}
}


this works fine..~!!

just want to know... did i call the funtion wrong of the variable location is changed... why doesn't it work if i apply it into function

Text Typing Effect.
Ok, i made a text typing effect for my website. The only limitation it has is that the blinking cursor will only work if the text is on one line. What I need to know is how I would go about finding the X and Y positions of the last character in a multi-line text box? Could it be done using a non set-width font?

Text Typing Effect
Hi. I want the type on the introduction of my movie to look like it's being typed on the screen. How I did it was I typed out the line (white on black background), the on another layer I created a black rectangle over the text and motion tweened it across the text. It gave to effect I wanted, but is there a simpler way so that I don't have to do that with each line?

Typing Text Effect
is there a script I can use to grab text and type it out on the screen letter by letter?

ie typewriter type effect..

or is there a quicker way of doing it save keyraming and adding a letter?

Typing Text Effects?
Hey all!
I wondered... is there a way to have an animation play everytime someone enters text into a textfield? I'd ideally like to have an effect play before a character appears in a textfield, but I'm thinking that's either REALLY difficult or impossible. Any ideas? thanks!

Typing Text And Transitions
Hey,

I need help with a couple things...First of, I would like to animate text typing in a text box, like someone typing letters, one-by-one. Is there an easy way to do this without a frame-by-frame addition of letters?

Second question, I want to be able to do a transition from 1 scene to another, so like end of scene one, would fade into start of scene 2.

If anyone could help with this would be much appreciated!

Many thanks,
Paul =)

Typing Text Effect
Hey,

I want to know how to do a typing text effect, so that when my movie playes, it shows text being typed in. I have one way of doing it which I learnt at gotoandlearn.com, but it's not what I am after. If anyone knows any other ways, that would be awesome.

Thanks,
Paul

Typing Text In Actionscript
I'm trying to type a lot of body text in actionscript. One persistent problem is how to get text to start a new paragraph? If I key 'return' then I get an error. Does body text have to be on one line only?

Problem With Text Typing Effect
where there isnt a big problem.. but there is something i dont understand..

i have this actionscript...
my else statement is currently written as comment.. but when i activiate the elses statement the movie stops...

i try the if(this._currentframe > this.text.length) instead of else.. it's the same...


onClipEvent (enterFrame) {
this.text = _root.web;
trace(this.text.length + "," + this._currentframe)
if(this._currentframe <= this.text.length){
textBox = text.substr(0, 4*_currentframe);
//trace(this._currentframe);
} //else { stop(); }
}

all i want is when it finish typing all the characters in my string the movie stops...
but somehow i dont know why the movie stop if i activate the else statement and it runs fine now...


you can see it here
http://eeproduction.tripod.com/importTxtTester.html
http://eeproduction.tripod.com/importTxtTester.swf
my source file is here...
http://eeproduction.tripod.com/importTxtTester.fla
http://eeproduction.tripod.com/data.txt

Random Delay And Typing Text
I'm working on a project for work where I've run across this situation and could really use some help.

I have a spot in a movie clip where I need the effect of typing text.
The first layer is a dynamic text box assigned to the varible szTyped, the second layer is where I've attatched my actionscript.

Frame one:

//Initialize variables

szText="This is the really super-dooper string of typed text that is going to be typed by the really nifty-neato flash program.";
szTyped="";
i=0;

Frame two:

szTyped+=szText.charAt(i); // add next character
i++; // incriment i

Frame three:

if (szText.length==szTyped.length) {
stop(); // done?
}
else {
gotoAndPlay(2); // nope. so loop!
}


That works great, but here's my problem: I would like to add small random delays in frame three before the gotoAndPlay() so that it's more realistic (I can type 70 words a minute, and my typing isn't smooth like butter; there's a slight rate stagger for the text as it appears on the screen). I know I could use the Math.random() function for the random number, but I'm not sure on how to handle the delay. I've searched through the Actionscript references without much avail.

I have attatched the *.fla file to illustrate.

Also, a simple loop between 3 frames is great; but is there a way to condense all of this so that it's all within one frame?

Thanks guys; this problem is probably a simple one, but I'm stumped. I guess that's the joy of being a newbie.

Auto-typing Text? Any Tutorials?
Hi everyone.

How can I get text to type itself? I suppose this is rather simple but I can't find a tutorial for it. Thanks

'Typing Effect' For Dynamic Text
Hi!
I am loading some text from some file, I want everytime it is displayed it has legendry typing effect i.e writing one alphabet at a time.

Please tell me how achieve this functionality in flash.


Thank you.

How To Display Writing Or Typing Text?
Can Anyone Guide me how To display the text inputted in input text box simultaneously in another text box?
one is input text box for typing
another shows the text being typed in the input txt box.
thank in advance..

Detect Typing In Input Text Field
Is there any way of detecting if an input text field has changed from blank to typed text. I'm combining 2 string variables. When the text fields are blank, adding gives me "0". When the there is text :
var1="dog";
var2 ="house";
var1+2 = "doghouse";

I don't want 0 to appear when the text fields are empty.
Is there an "if" statement that can help?

Playing Sound After Typing In Text Into A Field
I am working with FLASH 4 on a Flash Phone where you push the buttons on the keypad, the numbers show up in a text field. From there I have a "DIAL" button where the user will click on to "dial" the number in the text field. I want it to then play a wav or mp3 file corresponding to that number.
I am new at doing actionscripts in Flash and I really need some help on this.

Thank you for your time

Ghostrider71
[Edited by Ghostrider71 on 07-30-2002 at 09:35 AM]

Animating A Typing Text Effect (Swish)
Hello Guys,

The last I have been using Flash was around 4 years ago and I have forgotten quite a bit. I remember I used SWISH Lite to create a typing effect (as a blinking cursor is typing a line of text one by one) and later i just could take this generator animation of my text and add it to my Macromedia Flash.

I have installed the new SwishMax Trial, but I really don't recognize where I have to go in order to get this text effect generator running. Is anyone out there that can help me out with that please? And once its done how can I copy the stuff into my Adobe Flash Project?

Many Thanks for any help this regards,
Houman

[MX04] How To Tell If User Is Typing Into A Input Text Box?
Hey guys,

I'm wondering if there is a way I can see if a user is typing into a input field.

Like if they are typing into the field a variable = 1

And if they are not or the field is empty it is = 0

Thanks,

Alex

Dynamic Text Typing Effect, In Color
Ok, I'm hoping I can explain the effect I'm going for, and someone can help me out. Right now, I'm using setInterval and the substring attribute to type out a paragraph one character at a time.

What I'd like to do is- type out that paragraph, one letter at a time- but each line types at the same time. So instead of starting at the first letter and typing each out to the last letter (which is what I'm currently doing) I'd like to detect the beginning of each line and type out from there. I hope that makes sense.

I'd also like for the most recently typed letter to be a different color then the rest of the text. Any help pointing me in the right direction would be great. I'm looking for:
1. How to detect a new line in a dynamic text field OR
1a. How to create dynamic text fields (one for each line of an externally loaded text file)
2. How to control the color of dynamic text with actionscript

Thanks in advance for your help

Change Text Color When Typing Begins (k)
Is there a way in a dynamic text field that when typing begins the text
in it changes to a certain color?

I have an if statement that writes a warning in the field if a user has
entered a negative number. It tells the user that numbers must be
positive and displays this message in red.

I want when the person begins to type over this warning for the text to
go back to black.

-Kirk

Data Typing A Dynamic Text Field
I am seeing the fofllowing error when I load a variable into a dynamic text box.

1067: Implicit coercion of a value of type Number to an unrelated type String.

I know that I need to data type the text box and I thought I could do it like:

Number(score_txt.text) = score;

But that isn't working and I cannot find anything in the documentation on it.

Can someone help please.

Mike

How Do I Create Auto-typing Text? [renamed]
I want the words to come onto the screen as if someone was typing them while the movie played.

If anyone knows of a tutorial for it please tell me thanks.

Do the tutorials for Flash 5 work for Flash MX 2004?

((An I'm sure who ever renamed this could have answered atleast one of these questions :-P))

How Do I Create Auto-typing Text? [renamed]
I want the words to come onto the screen as if someone was typing them while the movie played.

If anyone knows of a tutorial for it please tell me thanks.

Do the tutorials for Flash 5 work for Flash MX 2004?

((An I'm sure who ever renamed this could have answered atleast one of these questions :-P))

Typing Text Into Shapes (circle, Polygon, Etc.)
Is there any way to type text into a flash shape? I want to have my text contained within a circle. Do I have to import the art from illustrator or is there an easier way? Thanks.

Typing Chinese In Input Text Field At Runtime
Hi guys,
I am having problem typing in Chinese into any input text fields in my flash application. For example, I am trying to create a registration form in flash and may need the user to type in his/her Chinese name. But when I test it, all I can see is "????" when I type in Chinese with Windows IME. However, I can create some chinese text in notepad and paste it to the input text field and they'll display fine. I have no problem with displaying Chinese text in static and dynamic fields using loadVariable, loading external text files which are UTF-8 encoded... but I really need to get the user input working. Has anyone come across the same problem b4? Any help would be greatly appreciated.

My settings are:
English Windows 2000
Chinese IME set up with Changjie (Chinese Taiwan) and ShuangPin (Chinese PRC)
Flash MX
Flash 6 ,build 47 player

Embedding Asian Characters
I have a SWF that loads text dynamically from an XML. Recently, I was asked to add support for Chinese characters. The fonts must be embedded since I use them in some alpha transitions, but when I try to embed the fonts via the Dynamic Text font "Embed" option, and select "Chinese (All)," the filesize increases dramatically. I know this is due to Flash trying to embed all 21664 glyphs/characters. Is there any other way to do this? I have tried creating my own shared fonts but they do not embed all the characters, and someone suggested to purchase the code from www.sharedfonts.com, but I would like to do this with as little expenditure as possible and I don't think that code works with Flash 8 (the site only mentions 6 and 7).

Any ideas?

Embeded Asian Font
We have some trouble with asian fonts in flash animations:

1.The text of our animations is coming from outside (xml), so we use dynamic text.
2.We have to use alpha-tweenings (codebased and timeline).
3.Therefor we use embeded fonts (if we don’t use that, text is always 100% alpha – also if we define 50% or 0%)
4.Our clients are using Flash 7, so we compile our files as Flash 7 SWF.

So far we don’t have problems, but :

We have to display the animations also in chinese, japanese, …

If we’re embedding asian fonts, the animation is 2 or 4 MB bigger than before! Is there a trick or any other possibility, to define:

Dynamic textfields with alpha-transitions in asian language for Flash 7 ?

How To Show Asian Character
I searched this forum about this topic and also followed Claudio's link to ericlin's article but still cannot get a clue to do that. Can someone give me a more detailed steps? Thanks.

Asian Character Issue
Hey all,
I am having a bit of a dilemma right now with some chinese - simplified input boxes.

Here is the set up:
I have a text box that is being generated.
it is using _sans as its font
embedFonts is set to false

now the issue:
when i set my keyboard to Chinese (PRC) / Chinese (Simplified), I am able to start typing and have the proper dial og box come up to create the character, but when i  finish the character it disappears.  

I am able to paste text into the box no problem, o r set the text value with code, but i cannot seem  to manually enter the character.

thanks,
marc

How To Show Asian Character
I searched this forum about this topic and also followed Claudio's link to ericlin's article but still cannot get a clue to do that. Can someone give me a more detailed steps? Thanks.

Dynamic Asian Languages
What is the trick for truly embedding all asian characters.

I have a text box that I need to load chinese or japanese text into...

When I paste the text in the the box it looks just fine. When I publish the movie and load the text into the box certain characters are missing and I get the rectangle symbol that occurs when the font is missing that character.

I am using Arial or Times new roman.

DYNAMIC Text Fields Randomly Attached And Attacking By Typing
HI,
I have dynamic text boxes in a typing game that when a random number is produced it attaches the text filed, applys arandom letter or word, and it falls down the stage along with a creature graphic.

The idea is you have to type the letter or word attached to the MC to kill it and then just send the MC to a different frame.

We have the attaching and falling done but cant work out how to get it to die when you type the letter or word.

I have tried things like

-------
KeyListener = new Object();
KeyListener.onKeyDown = function() {
for (i=0, i<newbaddie.length, I++){
if (newbaddie.charAt(i) == (String.fromCharCode(Key.getAscii())) {
die = true;
}
}
-----------

But NO JOY ?
we then have the problem of How do I set the focus of which MC we are trying to kill ?

If you start typing one ,..I want the viewer to HAVE to finish that one.. before he can kill any others !

so I guess I dont know how to set the focus of the Dynamic text field?

I have the MC's falling at differnt random speeds aswell

Any ideas
Thanks in advance

Free Asian Music Loops?
Hi,
Does anyone here know about a site with free asian (chinese etc.) music loops? I need it foe my flash project.
Thanks.

Free Asian Music Loops?
Hi,
Does anyone here know about a site with free asian (chinese etc.) music loops?
Thanks

Asian And Middle Eastern Font Support
Hi,

Is embedding fonts the only option for using the fonts listed below and if so are these supported?

· English and other European languages: Tahoma

o All supported languages (Western Europe, Scandinavian, Eastern Europe, Greek, Turkish, Russian)

· Simplified Chinese: SimHei

· Traditional Chinese: PMingLiu

· Japanese: MS PGothic

· Korean: Gulim

· Arabic: Tahoma

· Hebrew: Levenim MT

· Thai: Browallia New

New fonts for Microsoft Windows Vista*

· English and other European languages: Tahoma

· Simplified Chinese: Microsoft YaHei

· Traditional Chinese: Microsoft JhengHei

· Japanese: MS PGothic

· Korean: Gulim


cheers,

Finty

Please,somebody - Anybody MERCY... Saving Text To Text Fiel On HD?
Hi everybody,

just wondering of anyone has any idea how to do this... it's been driving me mad..... :'(
working on this CDRom project where I need to set up a little notepad type utility, ie user types something in, clicks button which sends it to new text field, with date etc attached. Then there needs to be an option to save this to a text file on the hard disk...
As it's not going online it needs to be contained on the CD, but save this file externally onto PC, load it back in on request....


tried something like this:

on (release) {
fscommand("save", mainvar+".txt" ;
}

which saves the file, but no save box pops up , then I can't get it load in again either....
Seems to me that this shouldn't be that hard - well for script heads anyway - but I'm so stuck... can't figure it out....

I'd really appreciate it if someone could give me any thoughts, tips or tricks on this... before I lose my sanity....


hoping for some inspiration Prisca

Saving Text
I'm a bit of a newbie, so please forgive me if this is a question that has been asked before. Is there a way to save text that is imputed in the Flash movie as a .TXT file? Say as like a Diary or Journal. I figured out how to load a text file. I found some examples here at Flash Kit, but for the life of me, can't get them to work. Any help would be appreciated. Thanks in advance to all the kind souls willing to share their vast knowledge.

Gerry

Saving Text In Txt... PLS HELP...
Hello
I'm new here... and my English is not soo good
so pls try to understand...

Well... I made a game in Flash 5, and when some one is finish to play he has a score and the score is in a text box
for exm: "score" and there is anuther text box for his name: "name".
Now I'm wanna do a record table
And that the record will be save in a text file... or in the internet
If some one now how to do it pls let me know...

tnx
asdasdasd....

Saving Text To Another Scene
i would like to know how to save a high score to another scene and so it would be saved there rather then reseting everytime you run the flash file. THANKS!

Saving Text Onfo
Hi and HEEEEEEEEELP!

I'm putting together a cd-rom on a Mac for PC that has 274 images that has 6 input fields for each. The info will need to be changed and updated regualarly.

Dose anyone know a script that will save the new info when the cd is re-inserted?

This will be a great help.

Saving To A Ext Text File
i am new to flash and i want to know the simple way to save information to an txt. file.

Saving To A Text File
Hello,
I am trying to create a project that saves variables to a text file. Flash is able to read data in from text files, but not write to them. I understand there is a work around using the "exec" command. I have only seen it with Flash 4, does it work with Flash 5? I have seen a couple variations of this......

Code:
fscommand ("exec", "command.com" add chr(9) add "/c" add chr(9) add "echo" add chr(9) add "text3=" add TypeVar add ">c:content.txt");

Code:
fscommand ("exec", "c|: extsavesaver.exe" add chr(9) add variable1 add chr(9) add variable2);
I am looking at a couple tutorials from here, but I cannot seem to get them to work.
notepad-Emad_Ham-3431
Rune Studios Flash Tutorial
Save to disc- Guy Watson
I am on a Windows Millenium OS, wondering if that might be a problem? Anyone know of an easy to follow tutorial of how to save data to a text file?

Thx in advance
~GD~

Saving Into A Text File....HELP ME
I want save information into a text file from a .swf

I want to get flash mx to save into a .txt file.
(.swf not on the internet(just running off the computer).)

can anyone help me, source code would be helpfull....

Copyright © 2005-08 www.BigResource.com, All rights reserved