SOFT1 (ExtendedKey.SOFT1 property)
public static SOFT1 :
The key code value for the SOFT1 soft key. The SOFT1 key code always corresponds to the
left soft key; the SOFT2 always corresponds to the right soft key.
Availability: ActionScript 2.0; Flash Lite 2.0
Example
The following example creates a listener that handles the left and right soft keys:
var myListener:Object = new Object();
myListener.onKeyDown = function () {
var keyCode = Key.getCode();
switch (keyCode) {
case ExtendedKey.SOFT1:
// Handle left soft key.
break;
case ExtendedKey.SOFT2:
// Handle right soft key
break;
}
}
Key.addListener(myListener);
SOFT10 (ExtendedKey.SOFT10 property)
public static SOFT10 :
The key code value for the SOFT10 soft key.
Availability: ActionScript 2.0; Flash Lite 2.0
SOFT11 (ExtendedKey.SOFT11 property)
public static SOFT11 :
The key code value for the SOFT11 soft key.
Availability: ActionScript 2.0; Flash Lite 2.0
SOFT12 (ExtendedKey.SOFT12 property)
public static SOFT12 :
The key code value for the SOFT12 soft key.
Availability: ActionScript 2.0; Flash Lite 2.0
364
ActionScript classes
String
String
String
String
Need help?
Do you have a question about the FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE and is the answer not in the manual?
Questions and answers