How to find the width of the icon which is embedded in a button?
A:
Try this:
var icon:DisplayObject = button.getChildByName("upIcon");
trace("icon (width: " + icon.width + ", height: " + icon.height + ")");
Christophe Herreman
2008-11-14 07:56:14