easeljs - createjs.Stage.update() and unresponsive script in FireFox -


in project drawing plenty of things stage , in firefox getting infamous "warning: unresponsive script" message stage.update() function.

i have tried break script multiple asynchronous cycles using settimer, drawing 100 elements in loop before briefly giving control browser. thought stage.update() redraw newly added elements apparently not work way. if create , add stage 1 new element, if there 1000 elements on stage update take same amount of time if added 1001 elements in 1 go. leads "warning: unresponsive script" message.

i need able update newly added elements or make update function somehow asynchronous.

i had had break constructing of stage more asynchronous cycles, helped.


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -