8/10/2011 10:25:49 PM
Title:
how to get the image item click in canvas in flex
hi all,
i have images in canvas i cant able to get the each image click without x and y position but the images are overlapped inside the canvas it built the tshirt my code is below
mx:Canvas width="100%" height="100%" >
<mx:Image source="assets/images/tshirtImages/color_bit.png" click="{Alert.show('img1')}"/>
<mx:Image source="assets/images/tshirtImages/color_bit1.png" click="{Alert.show('img2')}"/>
<mx:Image source="assets/images/tshirtImages/color.png" click="{Alert.show('img3')}"/>
</mx:Canvas>
8/11/2011 3:50:00 AM
Hi Kumar,
I am not getting your problem. can you please write breifly???
I think you need item renderer for rendering image
See this link
http://livedocs.adobe.com/flex/3/html/help.html?content=cellrenderer_8.html