Button icon size in Flex
How do I find the width of an icon embedded in a button?
+1
coder
source
to share
1 answer
Try the following:
var icon:DisplayObject = button.getChildByName("upIcon");
trace("icon (width: " + icon.width + ", height: " + icon.height + ")");
+3
Christophe herreman
source
to share