Results 1 to 2 of 2

Thread: playing animation without loading image files

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1

    Exclamation playing animation without loading image files

    Hi there.

    I created animation by Sencha Animator.
    But, when the iPhone didn't have a cache, the animation plays without loading image files.
    Would you tell me the way to play animation after loading all image files?

  2. #2
    Sencha User arnebech's Avatar
    Join Date
    Jun 2010
    Posts
    498

    Default

    The animation starts to play when the "load" DOM event is fired. This typically means that all the images are loaded. You could also try to wrap the "AN.Controller.setConfig(configData);" in a setTimeout, to give the browser a little time to perhaps display the images after they are loaded.

    e.g.
    Code:
    window.addEventListener('load', function(){
        var configData = {...};
        setTimeout(function(){
            AN.Controller.setConfig(configData);
        }, 10);
    }, false);

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •