标签: flex icons
如何找到嵌入按钮的图标宽度?
答案 0 :(得分:3)
试试这个:
var icon:DisplayObject = button.getChildByName("upIcon"); trace("icon (width: " + icon.width + ", height: " + icon.height + ")");