Busy Cursor


hello!

 

i have loop 1 10000. how can make busy cursor appear before starts , remove after ends?

cursormanager.setbusycursor() - before , cursormanager.removebusycursor() - after, doesn't it.

i hoping operations synchronous.

 

how can it? thanks!

try breaking 2 functions, flash player gete chance upate display list. someting like:

 

            protected function clickhandler(event:mouseevent):void
            {
                cursormanager.setbusycursor();
                settimeout(runloop, 10);
            }
           
            private function runloop():void
            {
                for(var ix:int =0; ix < 1000; ix ++)
                {
                    trace(ix);
                }
                cursormanager.removebusycursor();
            }

 

thanks,

gaurav jain

flex sdk team



More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

Installation database is corrupt

Nogen der kender et simpelt hvidt template med topmenu kun - Joomla! Forum - community, help and support

Error compiling for board Arduino/Genuino Uno.