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 Reference

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents