EasyManua.ls Logo

MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE - SOFT1 (Extendedkey.soft1 Property); SOFT10 (Extendedkey.soft10 Property); SOFT11 (Extendedkey.soft11 Property); SOFT12 (Extendedkey.soft12 Property)

MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE
780 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
364 ActionScript classes
SOFT1 (ExtendedKey.SOFT1 property)
public static SOFT1 : String
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 : String
The key code value for the SOFT10 soft key.
Availability: ActionScript 2.0; Flash Lite 2.0
SOFT11 (ExtendedKey.SOFT11 property)
public static SOFT11 : String
The key code value for the SOFT11 soft key.
Availability: ActionScript 2.0; Flash Lite 2.0
SOFT12 (ExtendedKey.SOFT12 property)
public static SOFT12 : String
The key code value for the SOFT12 soft key.
Availability: ActionScript 2.0; Flash Lite 2.0

Table of Contents

Related product manuals