|
-
I Heard it Through the Grapevine
Viswanath Parameswaran is one of the amazing speakers we have lined up for the Flash Kit Singapore 2001 conference. An experienced speaker and author, he will be speaking about multilingual content in Flash, concentrating on the issues involved and possible solutions for bringing in other language scripts into Flash. Don't miss this unique opportunity to take your Flash to a truely global audience from Viswanath.
We are giving you the chance to post any questions that you may have about this session, or anything else you might want a God of Flash to answer for you. Viswanath will be checking the site regularly to post replies to questions, so if you have any questions at all for him, just post them here!
Check out his profile at: http://www.flashkit.com/fk01/singapo...meswaran.shtml
-
Multilingual character typing in flash file
Hi
I am trying to make a dynamic text(multilingual text area) area in flash using action script. I am not able to type conjuncts character in that text area. There are number of characters in every language. For that reason I am not able to map all characters in 92 windows (` 1 2 3 4 5 6 7 8 9 0 - = ~ ! @ # $ % ^ & * ( ) _ + q w e r t y u i o p [ ] \ Q W E R T Y U I O P { } | a s d f g h j k l ; A S D F G H J K L : z x c v b n m , . / Z X C V B N M < > ? ‘ “---possible to type these characters through keyboard. )
1-31 are useless,
32 is space,
33 to 126 are for alphabets, numbers and symbols,
127 to 160 are also useless,
161 to 255 are use full for conjuncts and other extra characters
(This is the way to map Indian characters)
If we want to type 161 to 255 characters than we can type through right "Alt" key + 0+window number. And there is no alternative way to type these characters.
So please give some idea ?
Ananta
-
Senior Member
Hi God
Dear GOD,
God can you tell me if there is a way to display the right time on my site.Dear GOD we are in a country that
is in a daylight savings time so we are one hour forward now and thru the summer and next few months. When i make a flash clock for a commercial stock market site. The time says its an hour slow.
Please Help Me GOD.
-
Re: Multilingual character typing in flash file
Hi,
Usually apart from Latin 1 character set, the Pan-European languages use the upper ascii values. They can be enabled in windows. You can find the details at http://www.microsoft.com/typography/...ng/default.htm
But if you are using Indian languages you will be having a regional language hoverware which does the character mapping.
While using dynamic text fields, the issue is most of time the ability to embedd all the gyphs for a particular font (for that language.)
If you are sure that the characters are within the 255 range you can use the [..] option to embedd all the glyphs for that particular font. But if they are beyond this ascii values ie if they are unicode values this wont help.
Flash currently doesnt support unicode, but if you are using win2000 you can switch the input locale and system locale to the language you want and try keying in using an input method of your preference.
For dynamic fields usually the data comes from a non keyboard source (from db or within actionscript). If you are using a input text field, then after embedding the fonts you should be able to keyin using keyboard. If hoverware doesnt support that, you can create a flashbased keypad (with character mapping) for users to enter.
You can even create a custom font with the characters you need and embedd them as well.
You can send me a mail if you need further clarification.
regards
-
Senior Member
ReplY With Part Of Thread Quote:
"For dynamic fields usually the data comes from a non keyboard source (from db or within actionscript). If you are using a input text field, then after embedding the fonts you should be able to keyin using keyboard. If hoverware doesnt support that, you can create a flashbased keypad (with character mapping) for users to enter."
Could you please explain how to do this to input text into a input text field (on a site), using a button! What would be the code for example for the letter "o".Or to input digits from 0-9. Given the name of the input text field is "textField1" and a button on stage.
-
HI Viswanath 
There is alot om movement going around the globe regarding Flash. There are seminars and road shows taking place in many places in Europe, Australia and America. There is one even in Singapore.
Flash Masters from around the globe, come and share their expertiese with other proffessional,amature and even begginers.
SO far there has been no such even in India, particulary Bombay, where flash is being used on a very wide scale.
Do u think that Bombayites would get an oppurtunity to rub shoulders with gurus such as urself and the others???
Does Macromedia or Gurus lilke you, have any plans for conducting any such road-shows in India/Bombay where flash is being used on a large scale ????
thank for ur time 
P.S.
I apologise for this off-topic post.
Moderators can delete this post if they feel its in-appropiate.
-
Flash Commentary
For thus says the LORD, Who created the heavens, Who is God, Who formed the earth and made it, Who has established it, Who did not create it in vain, Who formed it to be inhabited: "I am the LORD, and there is no other. I have not spoken in secret, In a dark place of the earth; I did not say to the seed of Jacob, 'Seek Me in vain'; I, the LORD, speak righteousness, I declare things that are right. "Assemble yourselves and come; Draw near together, You who have escaped from the nations. They have no knowledge, Who carry the wood of their carved image, And pray to a god that cannot save. Tell and bring forth your case; Yes, let them take counsel together. Who has declared this from ancient time? Who has told it from that time? Have not I, the LORD? And there is no other God besides Me, A just God and a Savior; There is none besides Me. "Look to Me, and be saved, All you ends of the earth! For I am God, and there is no other."-- Isaiah 45:18-22 NKJV
-
Senior Member
I was bought up with catholic people saying God' answers all your prayers. This God must be awfuly bussy???? I hope it's before the seventh day??
-
How do I embed other fonts in Flash??
Dear Sir:
How do I embbed Farsi(persia) or Arabic fonts in Flash without breaking the text. I am new to this I hope you can help.
Thankx a lot
John
-
:-) The connection from heaven is a little slow...
About buttons for keying in characters:
Create an Input textfield. Assign a variable name "display". Embedd the font.
Now create a button and keep it on the stage. In the button actions keyin:
on(press){
display = display add chr(48);
}
create another instance of the button and change chr(48) to chr(49)
ie .,
on(press){
display = display add chr(49);
}
chr(48) is 0 and chr(49) is 1
you can continue and create buttons for all characters upto 255.
Now when you run the movie and press the button you will see the letters appearing in the display text field. Since it is an input text field you can delete the letters as well.
cheers
-
Re: How do I embed other fonts in Flash??
Hi,
If you are a windows user use win98 or win2000 (win2000 is ideal for multilingual development). In win98 you can add arabic language.
1. go to control panel
2. choose keyboard
3. select language option
4. add arabic
Now once you are in flash choose arabic from you language selector on taskbar and start entering. To see the fonts correctly choose "Traditional Arabic" font. You can install your own arabic fonts as well.
If you are using win2000.
1. go to control panel.
2. choose regional settings
3. select the language you want to support and add.
4. Now go to input locale and choose arabic - language(country).
5. you can set the default system locale to the arabic and country of your choice (Saudi Arabia, Qatar etc). The system will prompt you to restart.
While in flash choose arabic in your taskbar and start entering in arabic.
regards
-
Hi,
Usually seminar/conferences/roadshows etc are organized by Companies or Organizations and Speakers are contacted to take part in it.
Considering the vast potential, number of flash developers and entry of flash as a serious tool for web application development, India should be an ideal venue for flash events.
I hope organizations and companies would take note of this and utilize this opportunity. Personally, I would be glad to to take part in such an event in India.
regards
-
Senior Member
Re- make flash based keyboard Add char.
on(press){
display = display add chr(48);
}
Thanks for that. It was worth it's wait in gold. It's interesting. How did you learn such tips and tricks?Is there a way to use these buttons to input char numbers in the text box that has the focus? Rather then giving them a name. I should have made it clearer earlier. I have some forty input text boxs in the site I am making and I want to be able to input digits into the input text field that has the focus using buttons 0-9.
I realized once I attemted the code that I could not give them all names because they would all end up with the same numbers in them once the button got pressed.
Thanks for your time..
-
Hi,
For dynamic text fields you will have to get the text field name dynamically and assign them ie., use Selection.getFocus()
One of the first problems you will encounter is, as soon as you press the button the selection object will return null(as the text field has already lost focus). So inorder to overcome that you need to capture the last clicked text field and keep it as the current focus.
The steps.
1. Create two text fields "textfield1" and "textfield2"
2. Create a movieclip and keep it outside the stage.
3. Keyin the following clip action on the movieclip object
onClipEvent (mouseUp) {
if (Selection.getFocus() != null) {
_root.currentFocus = Selection.getFocus();
}
}
4.Now create a button and have the following button action.
on(press){
eval(_root.currentFocus) += "A";
}
5. Create another button and have
on(press){
eval(_root.currentFocus) += "B";
}
(you can use chr(code) as well)
Now run the movie and click on any textfield and then press theh button. You will see that the last clicked text field will be the ones where the button will insert characters.
I hope this is what you are looking for.
cheers
-
I have to agree with Flashkid....lots of flash stuff happening in India its hightime that the organisers of the event heard our plights and organise an event in Bombay.
I bet u'll definately get a good response
-
Embed other Fonts in Flash
Dear Parameswaran,
Thank you for your reply. I went to control panel, using win98 and than keyboard and then Add... but on the list there is No Persian or Arabic listed. I find it strange.
Not sure how to install Persian or Arabic Fonts to work in flash.
Hope to hear from you soon.
John
-
Re: Embed other Fonts in Flash
Which is your Operating System? Windows 95/Windows 98 or Windows 2000 ?
Originally posted by flashersNew
I went to control panel, using win98 and than keyboard and then Add... but on the list there is No Persian or Arabic listed. I find it strange.
John
-
Dynamic text box
Hi Viswanath
I am making a dynamic text box for Indian languages. I have some problem in Indian language conjuncts character typing.
For conjunct word typing
1. Suppose I am typing first "s" character
2. If I am typing "v" and again "P" than it should remove both "svP" and it should show Þ(222 number window Alt+222)
Some more examples of combination:
-------------------------
svP Þ (Alt+ 222 number window character)
kvtvr Ýi ((Alt+ 222 number window character)+i)
SvtvRvn eÜa (e+(Alt+ 222 number window character)+a)
------------------------
before typing: | SvtvRvn |
------------------------
------------------------
After completing typing: | eÜa |
------------------------
Some rules:
----------------
1. Small "v" char is helping to adding character like: svtvRvn
2. After typing "svtvRvn" in anywhere of my text area than it should change these characters to "eÜa". We can type this "eÜa" using (e+(Alt+ 222 number window character)+a)
3. If we type this normal charcter (` 1 2 3 4 5 6 7 8 9 0 - = ~ ! @ # $ % ^ & * ( ) _ + q w e r t y u i o p [ ] \ Q W E R T Y U I O P { } | a s d f g h j k l ; A S D F G H J K L : z x c v b n m , . / Z X C V B N M < > ? ) than also we should get same characters
4. If we are typing using "v" in between some where than it should --
Change to its assigning value like:
Before typing SvtvRvn
After completing typing eÜa
5. We should able to make numbers of pairs for numbers of conjuncts like avobe examples.
6. All characters are case sensitive
So please help me for making this dynamic text box for conjuncts typing in Indian languages. You can also suggest some other way to make cojuncts.
Ananta
[Edited by ananta2002 on 01-10-2002 at 01:08 AM]
-
Not appending my inputs in textfields
HI Viswanath
My input are not appending in textfields of other swf file.
I have two textfield in one swf file and flash keyboard is other swf file. If I click on any key than I get only one character in other swf file, character are not appending.
Example of button action(message is textbox):
on (release) {
_level0.message = message add "D";
}
How I will use here Selection.getFocus() for typing in both textfields.
Please help me
Ananta
-
Re: Dynamic text box
Hi,
Thanks for the detailed explanation. Usually Indian scripts use unicode fonts to display the proper glyphs. Hence inaccessible from flash. But if you use indian fonts meant for ascii character sets you will be able to keyin indian fonts within flash.
(which software do you use for indian fonts ?)
CDAC has developed a software called iLeap which uses ISCII - 7 bit encoding format to display indian characters. I believe that you should be able to cut and paste from iLeap to flash and assign the appropriate font in flash. ( I dont have a full fledged version of iLeap to test it.
You can get more information about it at http://www.cdacindia.com - go to Multilingual Technologies section.
Once you have Indian characters in the ASCII range you can use the logic of conjuct characters to input or create a visual keyboard.
I have just uploaded a sample typewriter at
http://www.info-designers.com/flash/multilingual/
[Edited by Viswanath Parameswaran on 01-10-2002 at 12:28 PM]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|