hello all

in canvas 300x300 i have two images(300x300)

in canvas i placed images one laid out another one...... both x,y is
0.

when am trying to click both images ...but the top image is only
triggering....
(for visibility both images are visible.)....but event is triggering
only on one image

am trying the current target....the code is below

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
layout="absolute">
  <mx:Script>
        <![CDATA[
                import mx.controls.Alert;
                public function showImageName(e:MouseEvent):void
                {
                        Alert.show(e.currentTarget.toString());
                }
        ]]>
  </mx:Script>
        <mx:Image  name="img1" source="img1.png" click="showImageName(event)"
useHandCursor="true" buttonMode="true" />
        <mx:Image name="img2" source="img2.png" click="showImageName(event)"
useHandCursor="true" buttonMode="true" />

</mx:Application>

(image1,image2 are circles.............. two circle look like in small
bit is intersected with each other)

can any one give me the solution

thank you
Raj



-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.


Reply via email to