problem: flash stops on ajax call

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.

Responses (Add Your Comment)

  1. i think it depends on synchronous/asynchronous ajax calls.
    with synchronous calls the browser / flash freezes untill your request ist completed

Trackbacks:

 

Leave a Reply

Formatting: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">