img1.addEventListener(Event.ENTER_FRAME,hitAnotherImage);

private function hitAnotherImage(e:Event):void
{
 if(img1.hitTestObject(newImageID)
{
                              img1.x=img1.x-10;img1.y=img1.y-10;
                               }
}

hope this works for you
-----------------------------
Warm Regards,
 HISSAM,
 Soft Engg,
 iThinkLabs Pvt Ltd.
 India.
website:http://www.ithink-labs.com
           http://www.yureekah.com
------------------------------

--~--~---------~--~----~------------~-------~--~----~
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