com.blocketpc.components.SoftKeysLight

com.blocketpc.components.SoftKeysLight

Component to show the softkeys.  This component sets also the fscommand2 SetSoftKeys and controls the screen position with the fscommand2 GetSoftKeyLocation.

Version

0.4.0

Author

Raul Jimenez

See Also

AbstractObject

Summary
com.blocketpc.components.SoftKeysLightComponent to show the softkeys.
Variables
softLeft
softRight
screenPos
Functions
SoftKeysLightConstructor
onResize
setPositionSets the softkeys position in screen.
setSoftKeysSet the names for the softkeys.

Variables

softLeft

private var softLeft: MovieClip

softRight

private var softRight: MovieClip

screenPos

private var screenPos: Number

Functions

SoftKeysLight

public function SoftKeysLight()

Constructor

onResize

private function onResize():Void

setPosition

public function setPosition(screenPos: Number):Void

Sets the softkeys position in screen.

Parameters

screenPos: Number value with position 0 - TOP 1 - LEFT 2 - BOTTOM 3 - RIGHT 4 - RIGHT WITH SOFTKEYS ROTATED Feel free to add more if you need it :)

setSoftKeys

public function setSoftKeys(leftKey: String,
rightKey: String):Void

Set the names for the softkeys.  Pass null or undefined if you want to disable the softkey.

Parameters

leftKey: The name to show for the left softkey.
rightKey: The name to show for the right softkey. 
Abstract class for AbstractView and components.
private var softLeft: MovieClip
private var softRight: MovieClip
private var screenPos: Number
public function SoftKeysLight()
Constructor
private function onResize():Void
public function setPosition(screenPos: Number):Void
Sets the softkeys position in screen.
public function setSoftKeys(leftKey: String,
rightKey: String):Void
Set the names for the softkeys.