非常实用

for example:
    var button:Button = new Button();
    this.addChild(button);

    //重点在这里
    button["label"] = "test";
    button["Move"](100,100);

自己写个demo去体会下吧  

相关文章:

  • 2022-12-23
  • 2021-11-30
  • 2022-12-23
  • 2021-09-28
  • 2021-12-17
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-26
  • 2022-12-23
  • 2022-12-23
  • 2021-09-07
  • 2022-01-10
  • 2022-12-23
  • 2022-01-22
相关资源
相似解决方案