1 Reply Latest reply on Jan 16, 2007 1:52 PM by kglad

    referencing loaded clips

    cokefour
      I have an index file which loads he navigation and home page files like this

      //create home page holder
      this.createEmptyMovieClip ("rotateClip", this.getNextHighestDepth ());
      //load homepage
      rotateClip.loadMovie ("home.swf", [GET]);
      //create nav holder
      this.createEmptyMovieClip ("navClip", this.getNextHighestDepth ());
      //load navigation
      navClip.loadMovie("navigation.swf");
      I then load the services page replacing the home page by referencing rotateClip from the loaded nav file attaching this code to the services button

      on (release) {
      _root.rotateClip.loadMovie("services.swf");
      }

      The services page has sub sections which I load in the same way as the home page. They load fine once services page is loaded like so

      on (release) {
      _root.rotateClip.loadMovie.servHolder.loadMovie("servMgmt_mc.swf);


      }

      servHolder is to services what rotateClip is to the index page.

      How can I get it to work if the user hasn't loaded the services page?
      when I put this line before it or on a preceding frame

      _root.rotateClip.loadMovie("services.swf") to make sure services gets loaded the servHolder doesn't load anything