代码之家  ›  专栏  ›  技术社区  ›  ablerman

mxml声明中的属性何时提交到对象?

  •  0
  • ablerman  · 技术社区  · 15 年前

    <myComponent id="foo" title="bar" />
    

    它们是否可用?

    2 回复  |  直到 15 年前
        1
  •  2
  •   danjarvis    15 年前

    来自Flex文档:。

    Flex dispatches the creationComplete event once for a component after the component is created and initialized.
    

    创建和初始化组件后,可以使用其属性。请记住,所有子组件都是在其父组件之前创建和初始化的。

        2
  •  0
  •   invertedSpear    15 年前

    creationComplete将在所有部分完成后发货。