[Embed(source="assets/cool/xxx.png")]
private var myicon:Class;
var btn:Button = new Button();
this.addChild(btn);
btn.setStyle("icon",myicon);
使用 ActionScript 3 创建 Btutton 设置按钮图标
最新推荐文章于 2023-04-06 09:39:15 发布

[Embed(source="assets/cool/xxx.png")]
private var myicon:Class;
var btn:Button = new Button();
this.addChild(btn);
btn.setStyle("icon",myicon);