1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    12
    Vote Rating
    1
    RedactiePartners is on a distinguished road

      0  

    Default Preloading of Images

    Preloading of Images


    Dear Sencha,

    Yesterday I bought two licenses after extensive testing (also other applications).
    As a result Sencha Animator came out the best for what we wanted to do with it.

    So keep up the great work.

    Although as you may know, there is a little competition in this type of application (Adobe Edge, Tumult Hype for example).
    Now Adobe Edge has a really nice implementation that let's you create a basic preloader (showing a "I am loading bar" beforehand) that can be extended through javascript by adding the images that need to preload.

    There is that and there is also a very nice open source library for this created by the guys who created the HTML5 version of the populair iPad game : Cut the Rope HD
    http://thinkpixellab.com/pxloader/

    I would really love to see this feature in the future!

    Kind Regards,
    Patrick van Zadel

  2. #2
    Sencha User arnebech's Avatar
    Join Date
    Jun 2010
    Posts
    498
    Vote Rating
    10
    arnebech will become famous soon enough

      0  

    Default


    Hi,

    Thanks for the feedback! That is definitely a nice feature to have.

    In the meantime (disclaimer: I haven't tried it myself), if you are willing to edit the exported code, you could potentially start the Animation earlier by editing the start listener to listen to the "DOMContentLoaded" instead of the "load" e.g.

    Code:
    ...
    window.addEventListener('DOMContentLoaded', function(){
    ...
    and then using the first scene as a loading screen. However, if you'd want to automatically continue on when the loading was done, you'd have to add another listener for the "load" event or continuously check the page status and react on that as well.

Thread Participants: 1

Tags for this Thread