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.

Context 和 userData 将被inContext和inUserdata分别初始化。

• 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.

Context 和 userData 将被inContext和inUserdata初始化,将设置为0。

Page last updated: 2011-6-27