next up previous contents
Next: Dll Up: Events Previous: onDown   Contents

onPress

Description
Fires when a button is pressed


Syntax

joystick.onPress = function (index)
{
}


Parameters

index
Integer. The index of the pressed button.




Copyright ©2000-2010 Shanghai TopCMM Software Technologies. All Rights Reserved.