tengo el siguiente componente MXML. [parte del codigo]!
Código :
<mx:DataGrid y="0" width="100%" height="100%" x="0"
dataProvider="{ books }"
allowMultipleSelection="true"
id="books_grid"
change="{ CairngormEventDispatcher.getInstance().dispatchEvent( new CairngormEvent("select") ) }" >
<mx:columns>
<mx:DataGridColumn headerText="Column 1" dataField="_name"/>
</mx:columns>
</mx:DataGrid>Como podria desde el documento padre , cuando inserto este componente, poder capturar por mxml el evento select.. ??
EJ:
Código :
<views:VBooks horizontalCenter="0" width="100%" height="100%"
books="{ wmModel.books }"
select="{ Alert.show('wake up motherF') }"
/>Asi tal y como esta no funciona .. ??
salu2
