<mx:columns>
<mx:DataGridColumn headerText="操作">
<mx:itemRenderer>
<mx:Component>
<mx:HBox horizontalAlign="center">
<mx:Button id="bt1" styleName="localMusicButton" click="parentDocument.dataGridDownLoadButtonClick(event)"/>
<mx:Button id="bt2" styleName="gdplayButton" click="parentDocument.dataGridButtonClick(event)"/>
</mx:HBox>
</mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
<mx:DataGridColumn headerText="歌名" dataField="songName"/>
</mx:columns>
</mx:DataGrid>
我想访问id为bt1的Button的属性,怎么做呢?
解决方法: