1 Reply Latest reply on Feb 21, 2009 8:44 PM by Gregory Lafrance

    Check to see if image is fully loaded

    drillnaut
      Hello Everyone,
      I have some images, and I would like to make sure they are all loaded before taking down the waiting screen and moving on the next stage in the application. The images are swfs , and I like the way swfs can be resized and still look great compared to jpegs , gifs and the like. I usually do something like this (warning code may not be correct)

      var image:Image = new Image();
      image.source = "assets/image.swf";
      image.load();

      then I proceed from there. However when looking at online docs , many people use a Loader/URLLoader class object and then add that object to the application as a child "addChild(ldrObject)" when the EVENT.Complete listener fires. Is there a way that I can download my swfs, and keep them as the image source without bitmapping them to some predetermined size and losing quality ?

      Sincerely,
      JDallas