0 Replies Latest reply on Dec 5, 2007 6:13 AM by MartinItsMartin

    Pre loader wierdness

      Hi all,

      I have pre loader script attached to a movieClip in the first frame of the my movie. The whole of the _root timeline is only 2 frames long, I use attachMovie and LoadMovie to build the site. But I cant get the loader to work. Its really odd as i use it all the time and its great, nice and simple. But for some reason everything stays blank and then the movie appears...

      Any ideas as to why?

      Here's my code;

      onClipEvent (enterFrame) {
      percent = Math.round(_root.getBytesLoaded())/Math.round(_root.getBytesTotal())*100;
      _root.percentDisplay = Math.round(percent)+"%";
      this._xscale = percent;
      if (percent == 100) {

      The text and loader bar appear for a flash when its 100% but its like its not looping...??? So I know all instances are connected and var work...
      Flash 8, Mac OSX
      Thanks for your ideas in advance...