do these two images are in two diff components in a canvas? if so use canvas setChildIndex property to 0 for the selected image. Hope this works
On Mon, Feb 1, 2010 at 1:11 PM, Raymondo <[email protected]> wrote: > Hi, > I have 2 images on a canvas and I want to be able to drag one on the > other > and promote it to the front, and then when I drag the other image, > then that image will be promoted > to the front. > > What attribute do I set in my image object in the performDrop > (event:DragEvent):void method. > > regards, > Ray > > -- > 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]<flex_india%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > > -- 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.

