In my project I am drawing plenty of things to the stage and in firefox I am getting the infamous "Warning: Unresponsive script" message from the stage.update() function.
I have tried to break my script into multiple asynchronous cycles using setTimer, drawing only 100 elements in loop before briefly giving control back to the browser. I thought the stage.update() will redraw only newly added elements but apparently it does not work that way. Even if I create and add to stage only 1 new element, if there already is 1000 elements on the stage the update will take same amount of time as if I added all 1001 elements in one go. Which obviously leads to the "Warning: Unresponsive script" message.
I need to be able to update only the newly added elements or make the update function somehow asynchronous.