Alphanumeric_Full; (Ime.alphanumeric_Full Property) - MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference

Actionscript 2.0 language reference
Table of Contents

Advertisement

Parameters
- An object, with an
listener:Object
listens for a callback notification from the IME event handlers. The reading string passed to
this method is in the composition mode of the IME. For example, if the user enters text in
Hiragana and then selects a Kanji candidate, the reading string is the original Hiragana.
Example
The following example shows how to add a listener object to
notification when a user sets the composition string by clicking in the text field.
var IMEListener:Object = new Object();
IMEListener.onIMEComposition = function(str:String) {
trace(">> onIMEComposition: " + str);
}
System.IME.addListener(IMEListener);
trace(System.IME.length);
var mc:MovieClip = this.createEmptyMovieClip("mc",
this.getNextHighestDepth());
mc.createTextField("txt", this.getNextHighestDepth(), 0, 0, 0, 0);
mc.txt.border = true;
mc.txt.background = true;
mc.txt.autoSize = "left";
mc.txt.text = "Click this text to add a listener.";
mc.onPress = function() {
if(System.capabilities.hasIME) {
Selection.setFocus(mc.txt);
System.IME.setCompositionString(mc.txt.text);
}
}

ALPHANUMERIC_FULL

(IME.ALPHANUMERIC_FULL property)

public static ALPHANUMERIC_FULL : String
A string with the value
getConversionMode()
Availability: ActionScript 1.0; Flash Player 8
onIMEComposition
"ALPHANUMERIC_FULL"
. This constant is used with all IMEs.
(readingString) method, that
System.IME
for use with
setConversionMode()
that outputs
and
IME (System.IME)
657

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF