Flex's Hour Glass Functionality
First, I have not been using or developing with Flex at all, but being Flash Developer for over 6 years, it keeps me fascinated. Developers obviously take learnings from newer, better applications, and try to implement the good, which also help maintain consistency, and often with time become more of standard way of doing things.
Anyway, I have been viewing Flex 2 demo applications showcased at the Adobe Labs, and really like the hour glass (nice clock animation) implementation within Flex applications. Its a really nice way of letting the user know that something is happening in the background, mostly some data being loaded from the server. I have been using a similar practice in my application, as it has to make lots of calls to webservices.
Well, you can call it a rip off if you want... :)
But there is a difference. Doing so I realized, completely hiding the mouse becomes a bit of a worry. Since the pointer is still functional, wouldn't it be a good idea, if instead of hiding the pointer completely (and showing the hour glass), let the pointer be there and add hour glass next to it? I mean, most desktop applications do not hide the mouse completely if something is happening in the background. When the applications stop responding completely, pointer is completely replaced by hour glass. I know, its a small thing, but Flex is definitely bridging the gap between online and desktop applications, the way they function, so it should behave as closely as they do...
How does this work in Flex? Does it have any way of configuring these options?
Lists in applications also have drag and drop functionalities which I have seen, I don't know if the components with Flex have these capability, but here too, replacing the complete pointer is a bit of a worry.
Here is what I have seen in applications currently:

shouldn't this be better:

Screenshots taken from the following application demos:
BrightPoint Dashboad
StatPods
Anyway, I have been viewing Flex 2 demo applications showcased at the Adobe Labs, and really like the hour glass (nice clock animation) implementation within Flex applications. Its a really nice way of letting the user know that something is happening in the background, mostly some data being loaded from the server. I have been using a similar practice in my application, as it has to make lots of calls to webservices.
Well, you can call it a rip off if you want... :)
But there is a difference. Doing so I realized, completely hiding the mouse becomes a bit of a worry. Since the pointer is still functional, wouldn't it be a good idea, if instead of hiding the pointer completely (and showing the hour glass), let the pointer be there and add hour glass next to it? I mean, most desktop applications do not hide the mouse completely if something is happening in the background. When the applications stop responding completely, pointer is completely replaced by hour glass. I know, its a small thing, but Flex is definitely bridging the gap between online and desktop applications, the way they function, so it should behave as closely as they do...
How does this work in Flex? Does it have any way of configuring these options?
Lists in applications also have drag and drop functionalities which I have seen, I don't know if the components with Flex have these capability, but here too, replacing the complete pointer is a bit of a worry.
Here is what I have seen in applications currently:

shouldn't this be better:

Screenshots taken from the following application demos:
BrightPoint Dashboad
StatPods




12 Comments:
Yeah, you can tweak it via CursorManager (mx.managers.*). Additionally, HTTPService, RemoteObject, and WebService all have "showBusyCursor" on by default, but you can easily turn it off, and substitute your own. Flex 1.5 even gave you the icon you want.
...however, most of us don't want you clicking while a service is going on. Yes, we could use a PopUpManager.createPopUp with modality to ensure they CAN'T click, but a simple built-in psychological trick is easier.
As far as drag and drop, those are the default actions. Lists and DataGrids create, typically, a RowItem with the type of action cursor (X, copy, etc.) when dragging. You can display your own; it's basically a MovieClip on _root created via PopUpManager.
By
JesterXL, at 1:12 AM
Thanks jester, thats exactly what I wanted to know!
Also, hiding it completely does make sense when you dont want the user to click while the service is on...
By
AJ, at 9:20 AM
dMVVqd write more, thanks.
By
<a href="users2.titanichost.com/amalopra">JohnBraun</a>, at 5:10 PM
Nice Article.
By
<a href="http://users2.titanichost.com/popebatret/index19.html">college station sex</a>, at 3:57 AM
Good job!
By
<a href="http://users2.titanichost.com/inoryum/index35.html">duclos caroline sex</a>, at 4:32 AM
Nice Article.
By
<a href="http://users2.titanichost.com/hviler/index10.html">anime sex sendspace</a>, at 6:21 AM
Thanks to author.
By
<a href="http://users2.titanichost.com/ansfur/index25.html">lesbian moms sex</a>, at 6:56 AM
Nice Article.
By
<a href="http://users2.titanichost.com/olds77/index4.html">free anal teen video</a>, at 7:31 AM
actually, that's brilliant. Thank you. I'm going to pass that on to a couple of people.
By
<a href="http://users2.titanichost.com/shingro/index7.html">sex after transgendering</a>, at 7:58 AM
Nice Article.
By
<a href="http://users2.titanichost.com/scersi/index35.html">education on sex</a>, at 8:31 AM
Good job!
By
<a href="http://users2.titanichost.com/t1fielde/index4.html">oswestry massage sex</a>, at 9:00 AM
Magnific!
By
<a href="http://users2.titanichost.com/adjutes/index20.html">bart sex milhouse</a>, at 9:39 AM
Post a Comment
Links to this post:
Create a Link
<< Home