0 Replies Latest reply on Jun 3, 2013 6:49 AM by TELLO_DE

    Check if pic-file loaded?

    TELLO_DE

      Hi NG,

       

      i dont get it. I load in my project via random all the time a new pic. THis makes me problemes, because if the pic is not loaded, it shows to the time its loaded the old. Looks ugly!!!

      Is there not any way to proof if the file is loaded?

      Like i start on timeline 1 with loading and when timeline 100 is coming i proof if the pic-file is complete loadet = play, if not play(1) // means go back to 1 .....like such a preloader in flash AS.?

      But how can i proof if pic is loaded?

       

      sym.$("pivcture_xyz").error(function(){

       

      or something with

       

      sym.$("pivcture_xyz").load(function(){

       

      ????

       

       

       

      Thanks for ideas

       

      TELLO