problem: flash stops on ajax call
Juni 25th, 2009 • bugfix
Problem: you call a javascript method which returns some data (via ajax – php etc..) and flash animation stops / looks ugly.
Solution: do the same thing via a callback method. so js – calls pushes the data to flash.
Why: – when flash calls js functions – flash stops – until it gets the return value. when you use callbacks js calculates stuff and calls flash when the date is already calculated -> no latency / flash stopping.
i think it depends on synchronous/asynchronous ajax calls.
with synchronous calls the browser / flash freezes untill your request ist completed