Thanks for the code Abdul. I just wanted to point out one small bug to
those who what to use the code. This code only works if the (for
example) hbox is empty, if it has children it gets an error on
rollover. problem is this line:
var component:UIComponent = UIComponent (event.target);

it should be changed to this:
var component:UIComponent = UIComponent (event.currentTarget);

Thanks,

Russell

--- In [email protected], "Abdul Qabiz" <[EMAIL PROTECTED]> wrote:
>
> I would create a singleton class called CursorPool. Where I would
register
> different UIComponent with the cursor types.. Showing and hiding cursor
> would be taken care by this class.
> 
> Please look at the following quick and dirty example :)  You would
need to
> replace the images I am embedding with yours...
> 
> Hope it helps..
> 
> -abdul
> 
> 
> 1) CursorExample.mxml
> 



Reply via email to