FLEX: how can I get the width of my linkButton object ?
Posted
by Patrick
on Stack Overflow
See other posts from Stack Overflow
or by Patrick
Published on 2010-04-18T10:39:47Z
Indexed on
2010/04/18
10:43 UTC
Read the original article
Hit count: 276
flex
hi,
How can I get the width of my LinkButton object ?
myLinkButton = new LinkButton();
myLinkButton.label = "blabla";
myLinkButton.setStyle("fontSize", 24);
myContainer.addChild(myLinkButton); trace (myContainer.width); //this doesn't work because I haven't directly set the attribute
thanks
© Stack Overflow or respective owner