toggle Cinema 12 Feb 2009

Cambiar el cursor default en flex con Actionscript Posted by Insane in Flex | No responses

El siguiente ejemplo muestra como cambiar el cursor por default en FLEX.

[Embed(source="assets/nuevocursor.gif")] /* o cualquiera q sea tu imagen*/
public static const loaderCursor:Class;
var cursorId:int = CursorManager.setCursor(loaderCursor); 

Para volver a la normalidad usa la linea de abajo.

CursorManager.removeCursor(cursorId);

De esta manera el cursor por default es cambiado.

  • Share/Bookmark

Promote this post

Would you like to add this post to your bookmarks? Come on, do not miss any updates and stay tuned.
Please share with us!

This entry no have comments but you can be first .

Leave a Reply ( Guest )

(*)

(will not be published) (*)