1 Reply Latest reply on Apr 22, 2006 4:19 AM by blemmo

    passing parameters between SWF with  loadMovieNum()

    Level 7
      When calling one swf from another using loadMovieNum("name.swf",0) is it
      possible to pass parameters to the second SWF like it is done in
      HTML/JavaScript or using any other method?


        • 1. Re: passing parameters between SWF with  loadMovieNum()
          blemmo Level 1
          I think it's not possible if you load into _level0, because that replaces everything in the player. If you load into a higher _level, it should be possible, but I guess you have to wait until the movie is loaded before you can set variables. Use preloader code or the MovieClipLoader class, and set the variables when loading finished, e.g. _levelX.myVar = 42.

          cheers,
          blemmo