Hello Sergey,

>Currently only the loaded image itself is mouse sensitive when
>scaleContent is set to false, not the entire Image control. How to
>change the behavior in order to make the entire Image control mouse
>sensitive without decorating it inside Box?

  I do not think this behavior is possible to achieve with a current <mx:Image> 
implementation.

  <mx:Image> has mx.controls.SWFLoader under its hood, and SWFLoader has only 
one property of DisplayObject type - contentHolder.

  If contentHolder is not stretched to occupy 100% of the <mx:Image> control 
surface, e.g property scaleContent=false, contentHolder content is surrouned by 
the empty space.

  If you need this behavoiur, create your custom component that extends 
<mx:Image> and adds this functionality. 


-- 
Best regards,
 Andriy                            mailto:[EMAIL PROTECTED]

Reply via email to