6 Replies Latest reply on Sep 19, 2009 9:14 AM by kglad

    Sequentially pre-load images

    AESS1981 Level 1

      I the main timeline of my movie, I am trying to trace the loading progress of '1.swf', then once it has fully loaded, load '2.swf' into mc 'preload2'.

      The following is not working:




      onEnterFrame = loadMeter;


      MovieClip.prototype.loadMeter = function() {

      var i, l, t;

      l = preload1.getBytesLoaded();

      t = preload1.getBytesTotal();

      if (t>0 && t == l) {


      } else {






      Any ideas where I am going wrong?

      Thank you