<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:HBox width="400" borderStyle="solid">
<mx:Button id="bG1" label="Label 1" />
<mx:Button id="bG2" label="Label 2" />
<mx:Button id="bG3" label="Label 3" />
</mx:HBox>
<mx:TextArea height="50" width="100%">
<mx:text>
Button1: {bG1.width}
Button2: {bG2.width}
Button3: {bG3.width}
</mx:text>
</mx:TextArea>
</mx:Application>
|