The problem with my solution: It seems that when I move my mouse over the Flash element focus shifts off of the html and on to the embedded Flash object. This means that the "not -allowed" curser pops up for just a second and then disappears.
What I ned to figure out: I was wondering if anyone has an idea of how to prevent the embedded swf object from accepting focus? In other words I would like the Flash buttons to be deactivated when you click one of them or one of several html elements that trigger jQuery animations. I don't want to use a JS command to call a Flash function that does this, since I don't want to add to the communication time, which is in reality my original concern.
Any suggestions on how to make this work or for a better solution would be much appreciated.
Last edited by phunder; July 4th, 2011 at 10:02 AM.
Hi, you could place a div with a transparent gif over the top of the Flash content. That way, the Flash content will be visible but not clickable. When the rest of the system is ready then use JS to hide the transparent gif div.
Quis custodiet ipsos custodes?
Thanks for the reply. I was actually thinking of trying something like that. I'll give it a go and let you know what I can figure out
Originally Posted by Tann San
Thanks Tann San, that works perfectly
July 28th, 2011, 12:59 PM
This is actually a case of good usability. Of the rules for usability is feedback. When a user clicks something, tell the user it was clicked.
In your case, if a button is clicked and there is some communication with a server and you want to prevent the user from doing anything while the communication is active, gray out the screen and put a message up that says "working" or "busy" or, if you can, give progress like "50% complete...". Just never leave a user guessing about what's happening.
“Be ashamed to die until you have won some victory for humanity.” -- Horace Mann
"...all men are created equal." -- US Declaration of Independence
July 29th, 2011, 02:10 AM
Thanks Frank, that is good advice.
In this case I used the wait curser to relay this message, though a message does not sound like a bad idea as well. The links are also deactivated until the command is processed. The wait is rarely very long though, so in this case I will content myself with what I have.
Thanks for the advice once again