The first phase, commit, occurs when Flex adds a component to the main display list (hereafter referred to as "stage") using addChild() or one of its variants in the DisplayObject class.
第一个阶段是提交,该阶段在 Flex 使用 addChild() 或它在 DisplayObject 类中的变体之一向主显示列表(此后称为 “阶段”)添加组件时发生。
We could have defined the heroes list here in this component class.
我们本该在这个组件类中定义英雄列表。
We could have defined the heroes list here in this component class.
我们已经把英雄列表定义在了这个组件类中。
应用推荐