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

    implications of using loadMovieNum()

    Level 7
      If I call one swf from another using loadMovieNum("name.swf",0) will the
      second swf be executed in the context of the first one or it will run as if
      it was called directly?
      In other words will it be the sama name space and I should expect conflict
      between variables names?
      Also will the second swf inheirit parameters of the first one such as

        • 1. Re: implications of using loadMovieNum()
          blemmo Level 1
          Loading into _level0 replaces everything that was loaded before, so there's no context for the loaded movie. Same goes for existing variables, they get replaced (or deleted) as well.
          If you load into another _level, there shouldn't be conflicts, because the variables are scoped to the _level, so you can have a _level0.someVar and a _levelX.someVar simultaneously.
          I'm not sure about the framerate, I guess this will stay the same throughout the whole movie and not changed by loaded clips, but I'm not 100% sure.