would something like the followng be considered "good practice" for
managing cursors (ie changing mouse cursor based on some user
selection & using mouseOver events to turn on the chosen cursor &
mouseOut events to return the mouse cursor to the system cursor)?

thanks.

private function setCursor():void {
        if (toolCursor !=null) {
                CursorManager.removeCursor(cursorID);
                cursorID = CursorManager.setCursor(toolCursor);
        }
}

private function removeCursor():void {
        CursorManager.removeCursor(cursorID);
}

.
.
.

<mx:Image source="{theMap}" mouseOver="setCursor();"
mouseOut="removeCursor();"/>


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to