3 Replies Latest reply on Sep 5, 2006 12:11 PM by Newsgroup_User

    loadMovie vs loadMovieNum  ->  What is the difference ?

    bebef
      Hi, what is the difference between loadMovie and loadMovieNum ?



      sorry for my english
        • 1. Re: loadMovie vs loadMovieNum  ->  What is the difference ?
          fdarweesh Level 1
          loadMovie ... load swf or images inside mc movieClips
          loadMovieNum --------- > loads inside levels 1, level2 ...etc
          check flash help for examples


          regards

          Firas Darweesh
          • 2. Re: loadMovie vs loadMovieNum  ->  What is the difference ?
            abeall Level 3
            Be sure to refer to the F1 reference for this. There are actually 3 different commands:

            loadMovie()
            loadMovieNum()
            MovieClip.loadMovie()

            The first two are global functions, the 3rd is the commonly used MovieClip method. loadMovie and MovieClip.loadMovie do the same basic thing, in a slightly different way.

            The main difference between loadMovie and loadMovieNum is that loadMovie loads into a MovieClip, while loadMovieNum loads into _level. A _level is like a Movie layer, the main timeline and all it's contents are always on _level0, but you can load other movies into other _levels.

            I wouln't suggest using loadMovieNum. Just create a container clip and loadMovie into it. You can create a MovieClip at runtime via MovieClip.createEmptyMovieClip(). Using loadMovie gives you more control than loadMovieNum and will save you headaches down the road.
            • 3. Re: loadMovie vs loadMovieNum  ->  What is the difference ?
              Level 7
              > Be sure to refer to the F1 reference for this.

              Hear, hear! :) I'm baffled why this is so rarely the first step,
              especially for a question like this.


              David Stiller
              Adobe Community Expert
              Dev blog, http://www.quip.net/blog/
              "Luck is the residue of good design."