OK, so I've finally worked out how to get a clickable image into a dataGrid. However, I'm having a scope problem.
I'm using: <mx:itemRenderer> <mx:Component> <mx:HBox horizontalAlign="center"> <mx:Image height="26" width="26" source="@Embed('/images/forwardicon.png')" toolTip="Click to make 'Inactive'" click="outerDocument.moveToInactive();"> </mx:Image> </mx:HBox> </mx:Component> </mx:itemRenderer> but I get an error: 1195 Attempted access of inaccessible method moveToInactive through a reference with static type main. main.mxml is the document in which the itemRendere resides. The function moveToInactive() is in a mxml file referenced by the main document. How can I correct this error please?