Here the Class we got to use is CusrsorManager and some methods in it.
The following example shows the custom cursor on a Flex App.
[Embed(source="images/cursorME.gif")]
public static const loaderCursor:Class;
var cursorId:int = CursorManager.setCursor(loaderCursor);
The code will set the cursor ,to remove it use the line of code.
CursorManager.removeCursor(cursorId);
Thats it the default cursor is changed.


August 11, 2008 at 10:55 am |
Hi,
I wanted to change the default progressbar in flex can any one help me
Regards
Raghavendra
August 11, 2008 at 2:46 pm |
U mean the DownLoadProgressBar,then we need to write a Action Script Class which extends the DownloadProgressBar and write the code you needed there , like putting some images,or useing Graphics class and its methods we can draw our own Loading thing.
And you include that in the code using the styles and its classreference in the Style.
I will make a post soon, or you can check it out at my WebSite http://www.99thoughts.com
regards,
kumar.