MenuCommand.MenuCommand

static function MenuCommand (inContext : Object, inUserData : int) : MenuCommand

Description

Creates a new MenuCommand object.

Context and userData will be initialized to inContext and inUserdata respectively.

static function MenuCommand (inContext : Object) : MenuCommand

Description

Creates a new MenuCommand object.

Context will be initialized to inContext and userdata will be set to 0.