非常实用
for example:
var button:Button = new Button();
this.addChild(button);
//重点在这里
button["label"] = "test";
button["Move"](100,100);
自己写个demo去体会下吧
as3访问对象属性和方法的经典用法
最新推荐文章于 2022-08-23 17:24:39 发布