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

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

esp8266 (nodemcu 0.9) client.write très lent ???