3 Replies Latest reply on Sep 14, 2007 7:59 AM by kglad

    Loading mov ie

    ganaru
      I want to load a swf file from a sub folder in a standalone machine. What can I do?

      I write the following code:
      submenuno=i+1; // i have been already initialized
      button.zz = " http://link"+submenuno+"\\"+mName;

      button.onRelease = function() {

      _global.y_co=this.yy;

      loadMovieNum(this.zz,12);
      };
        • 1. Re: Loading mov ie
          kglad Adobe Community Professional & MVP
          you don't want to use http protocol in a loadMovieNum() target: remove the http:// part of that string.

          also, if submenuno and/or mName are defined or updated after button.zz is assigned and before your button is released, that's not going to work.
          • 2. Re: Loading mov ie
            ganaru Level 1
            The variables 'submenuno' and 'mName' is defined before the 'button.zz' is assigned. I know there is no problem. I also experiment this using trace command.

            So please tell me, what is the code for loading movie from different folder/ or a subfolder.
            • 3. Re: Loading mov ie
              kglad Adobe Community Professional & MVP
              well, i don't know the correct path to the swf you're trying to load, but your code should look something like: