3 Replies Latest reply on Mar 24, 2007 8:03 PM by kglad

    onload levels issue

    redsox05
      I have a main banner that loads 3 other banners. When the main one loads the others, part of the main banner is behind the loaded ones. I want the main banner to be in the front and the onload banners to be behind. How do I fix this? Here's my code.


      _root.createEmptyMovieClip("container", 1);
      loadMovie("banner1.swf", "container");
      container._x = 0;
      container._y = 0 ;

      _root.but.onPress = function () {
      _root.createEmptyMovieClip("container", 1);
      loadMovie("banner1.swf", "container");
      container._x = 0;
      container._y = 0;

      but.gotoAndStop(2);
      but3.gotoAndStop(1);
      but2.gotoAndStop(1)

      }
      but2.onPress = function () {
      _root.createEmptyMovieClip("container", 1);
      loadMovie("banner2.swf", "container");
      but2.gotoAndStop(2);
      but.gotoAndStop(1);
      but3.gotoAndStop(1)

      container._x = 0;
      container._y = 0;
      }
      but3.onPress = function () {
      _root.createEmptyMovieClip("container", 1);
      loadMovie("banner3.swf", "container");
      container._x = 0;
      container._y = 0;
      but3.gotoAndStop(2);
      but.gotoAndStop(1);
      but2.gotoAndStop(1)
      }