Hi Richard, Here is the code:
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Script> <![CDATA[ public function handleMouseOver(event:MouseEvent):void { img.source = "1.jpg"; } public function handleMouseOut(event:MouseEvent):void { img.source = "2.gif"; } ]]> </mx:Script> <mx:Panel width="100" height="100"> <mx:Image id="img" source="2.gif" mouseOver="handleMouseOver (event)" mouseOut="handleMouseOut(event)"/> </mx:Panel> </mx:Application> ------------------------- Shilpa Chalasani On Dec 1, 11:32 am, richard_soper <[EMAIL PROTECTED]> wrote: > I have one default image, and when the mouse hovers over it, i want to > to change to another image! > > help? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

