flex 4
Submitted by jrowny on Fri, 03/19/2010 - 11:08
Once again I let my jQuery habits get into my ActionScript code.
this.addEventListener(MouseEvent.MOUSE_OVER,
function():void{
cursorId = CursorManager.setCursor(Cursors.MOVE,CursorManagerPriority.HIGH,-16,-16); });
this.addEventListener(MouseEvent.MOUSE_OUT,
function():void{ CursorManager.removeCursor(cursorId); });
What do you think? Should I leave it?
Submitted by jrowny on Fri, 03/05/2010 - 11:08
I haven't seen this well documented before, but if you're component was using the style manager and is throwing a bunch of warnings in Flex 4, you need to get the "global" style manager now. You probably see this error:
"3608: 'getStyleDeclaration' has been deprecated since 4.0. Please use 'IStyleManager2.getStyleDeclaration on a style manager instance'."