1 Reply Latest reply on Nov 18, 2007 4:19 PM by Newsgroup_User

    Preloader using alpha setting

      Sorry folks...Nevermind...I figured it out...I didn't notice a typo which was preventing my line of code to work.

      I currently have a preloader bar that works just fine (as you can see, it fills from 0 to 100% as the swf file loads from 0 to 100%). However, I also want to have a logo in the background that fades in from 0 to 100% at the same rate as the preloader bar. Does anyone know how I would add this to my script below? Thanks in advance! Yvonne

      myInterval = setInterval(preload,100);

      function preload() {
      var current = _root.getBytesLoaded();
      var total = _root.getBytesTotal();
      var pctLoaded = Math.round(current/total*100);

      loaderBar_mc._xscale = pctLoaded;

      if (current >= total) {