Ramblings

April 3, 2008

A clean way to define an app wide CustomBusyCursor for Flex

Filed under: dev, education, flex, tip — michaelangela @ 3:46 am

A good tip on how to set and maintain an app wide custom BusyCursor with CSS a custom cursor class and CSS declarations.

How to customize Flex busyCursor | LA Flash – Los Angeles’ Flash Professionals Adobe User Group

The CursorManager class in Flex provides a way to display a busy cursor whenever it is that a Flex application wants to give feedback to a user that the application is currently busy. Using the CursorManager.setCursor() method is handy, but doesn’t make it practical to change the cursor throughout the entire application. <snip> But if you’re trying to keep all of your styling in a CSS file for maintainability, this breaks out of that pattern by adding styling outside of your CSS file, which is sometimes inevitable but I try to keep all my styling in CSS files as much as possible. So how can one change the style in CSS? Using a ClassReference we can achieve just that!

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: