0 Replies Latest reply on Apr 25, 2007 10:02 AM by JoBelk

    xml and createEmptyMovieClip

    JoBelk Level 1
      I have created an julia.swf file with a connection to an xml file using the xml connector component. The file has a dropdown where you can choose the name of a movie and a dependant textbox that populates with the movie details when a movie has been chosen. I have added no code to do this, just a Trigger behaviour and the properties in the component inspector. The file works perfectly.

      In another file called navigation.swf I have some code that creates an empty movie clip then loads the julia.swf file. (I have pasted the code below). The file loads in but none of the components work. The dropdown wont even drop down, but it does have the first xml record displaying which makes me think it can still find the file.

      The julia.swf, navigation.swf and the xml file are all in the same folder.

      What is going on? I know it will be one of those simple things I could spent 17 hours looking at!!!

      Please help me!!

      Jo

      newClip = function (movie:String) {
      target.unloadMovie();
      var nextDepth:Number = this.getNextHighestDepth();
      this.createEmptyMovieClip("target", nextDepth);
      target._x = 0;
      target._y = 40;
      target.loadMovie(movie);
      };

      this.julia_btn.onRelease = function() {
      newClip("julia.swf");
      };

      (I don't think this code is the problem)