Posts Tagged ‘typing vietnamese’

Howto use vnkeys with TextField

vnkeys is originally designed to work with flash.text.TextField and you can feel it when typing. The replacement happens smoothly. It is easy to use and the code bellow will explain how to…

package {
import flash.display.Sprite;
import flash.text.TextField;
import flash.text.TextFieldType;
 
import org.vnmedia.vnkeys.KeyConverter;
import org.vnmedia.vnkeys.mapping.VNIMap;
// define swf dimension
[SWF(width=160, height=60)]
// this is an application class
public class vnmedia_vnkeys extends Sprite
{
public function vnmedia_vnkeys()
{
var textinput:TextField = [...]

How to provide users options to switch on/off when using vnkeys

The goal of this post is to show how we can create a radio button group so users can switch on and off when using vnkeys as the swf above. To create TextArea and TextInput we use input components that follows vnkeys (see this how to for details). Bellow is our code example where we [...]

how to use vnkeys with flex

In the package org.vnmedia.flex we find two subclasses of Flex controls class. FlexTextInput is extending TextInput and FlexTextArea extending TextArea. Those two inherit all functionalities from their parent. We just added some more code handling the typing since TextInput and TextArea behaves unlike TextField. It is simple to use. You just need to [...]

How to type vietnamese with VNI input method that is implemented in vnkeys

Bellow is a table on how to hit the keyboard (left hand side) to get the vietnamese letter (right hand side)
VNI => Vietnamese
a1 => á
a2 => à
a3 => ả
a4 => ã
a5 => ạ
a6 => â
o7 => ơ
a8 => ă
d9 => đ
We do not implement all possible ways to type a vietnamese word. Example, there are [...]