Flex 2: CursorPool for cursor management

Someone on Flexcoders asked what is the best practice to manage cursors. I, myself, don’t know but I thought something and implemented. As I always say, quick and dirty but can be better. I know, there are lots of things I can do but this is something very basic..
CursorPool class basically let’s you register components and kind of cursor you want to show when mouse is over the component. You have to register once and now CursorPool would take care of switching mouse cursor whenever mouse is over different components.
Check out code and demo :)


Update: I have also posted code on JAM, it would appear once Ted approves. You can see it there also.

  • Need 3 Flex engineers in New York City:
    1. You have to be living in New York City for now.
    2. Work part time or full time with us.
    3. Good at Adobe Flex technology.
    4. Please contact us for other requirement and details.
    Busycode Inc. is a top Adobe Flex shop who develops Flex/AIR applications for clients.
    For more info, please visit http://www.busycode.com