2 Replies Latest reply on Dec 8, 2010 12:38 PM by aktell2007

    Programatically preload assets after applicationComplete

    mariancraciun

      Hi,

      i would like to preload the assets when the applicationComplete is executed.

      Because i first ask the user for the user and password i have enough time to load the assets in background instead of embeding them in the swf file.

      Embeding them would make the swf file too big the the user would have to wait longer. Loading them when needed to be displayed  would insert a delay while these files are fetched from the server.

      I was wondering what's the best way to do that.

       

      Ex: i would like to preload  sounds/alerts/incomming-message.mp3 and images/guest-profile-image.gif but not embed them.

       

      Thanks.