1 Reply Latest reply on May 6, 2006 10:15 PM by kglad

    Actionscript problem

    DJ_Sick_Nick
      I have a loader component on the stage named loader with a preloader component named pBar. After the loader loads the swf, how do I make the movie go to the second frame where the preloader is deleted? This is the AS in the first frame. Please tell me what is wrong with it.

      stop ();
      if (pBar.percentLoaded = "100") {
      _root.gotoAndStop (2);
      }
      loader.autoLoad = false;
      loader.contentPath = " http://www.jowlninjas.com/newsite/index.swf";
      pBar.source = loader;
      loader.load();