Hi friends,
i have the Flex UI .when the user clicks on button a
function is called ,that function execution time is little longer
than simple functions.During this time the screen getting
locked.even i set busy cursor also it is getting locked.This
behavior is frustrating.how can i handle this so that the user can
know the operation is in progress.
regards,
krishna|||
call the function using callLater() method. if the function
is looping on something, you can refactor the loop contents in to a
separate function and call it again using callLater() in each
iteration.
ATTA|||
The callLater () is not solving the problem.
|||
Seems to me that there is no solution for this.The UI screen
locking till the execution completes.This is unwanted behavior
this seems to be the draw back of Flex.
krishna|||
You have not correctly implemented Atta’s solution then.
Properly used, callLater will allow the UI to update.
Of course if you are simply doing a lot of work then the best
solution is to move the heavy processing to the server.
Tracy
Related posts:
- My behavior is locked and I can’t unlock.
- Dreamweaver’s Windows/tabs locked???
- Create a locked nav bar?
- Can’t export swf, saying movie file is locked
- Timeline lagging with locked tracks
Related posts brought to you by Yet Another Related Posts Plugin.