4 Replies Latest reply on May 5, 2006 10:21 AM by Newsgroup_User

    loadmovie not working

    trivue
      Hello,
      I'm new to flash and am having alot of trouble getting the load movie action to work. Everything I've been reading suggests that what I'm doing should work. The main .swf and the slidingnav.swf that I want loaded on top are in the same folder on my local network. I have the load movie action on the 1st frame of my main.swf
      I've tried the following:
      loadMovie(slidingnav.swf,2);
      and...
      loadMovieNum(slidingnav.swf,2);
      Any problems with that code?
      I dont get any errors but when I test the movie or open main.swf, slidingnav.swf does not show up. I thought it could have something to do with the local plaback security in the publish settings but that didn't help. Its as if there is a file path problem but all the .flas and .swf files ar ein the same folder on the network.
      Please let me know if you have any ideas or need more info.
      thanks
        • 1. Re: loadmovie not working
          shyaway Level 1
          the second param should be pointing to an mc, not a number.
          also, the first param should be a string.
          loadMovie("slidingnav.swf",my_mc);
          • 2. Re: loadmovie not working
            trivue Level 1
            thanks for the speedy response.
            it seems all i was missing was the quotation marks....such a headache
            loadMovie("slidingnav.swf",2); is doing what i want.
            i guess it doesnt matter if the loaded movie is on 1,2,or 3 etc so long as i have a designated area for it.
            • 3. Re: loadmovie not working
              trivue Level 1
              i got the load movie to work with an action but i cant seem to get it to work with a button.
              here is the code for the buttons:

              on (release) {
              loadMovieNum("viz_content.swf", 2);
              }
              on (rollOver) {
              gotoAndPlay("Image 1 (STOP)");
              }

              Here is the test page: http://www.io.com/~gradya/main.htm
              please let me know what i'm doing wrong...i'm sure its a dumb question
              thanks
              • 4. Re: loadmovie not working
                Level 7
                "trivue" <webforumsuser@macromedia.com> wrote in message news:e3fubd$54$1@forums.macromedia.com...
                >i got the load movie to work with an action but i cant seem to get it to work
                > with a button.
                > here is the code for the buttons:
                >
                > on (release) {
                > loadMovieNum("viz_content.swf", 2);
                > }
                > on (rollOver) {
                > gotoAndPlay("Image 1 (STOP)");
                > }
                >
                > Here is the test page: http://www.io.com/~gradya/main.htm
                > please let me know what i'm doing wrong...i'm sure its a dumb question
                > thanks

                It is loading those swfs.. (check your cache and you will see). The problem is that once you load something into level2, you cannot
                see the swf that loads into level1 below it later.
                Either load everything into the same level or hide the one that blocks the view of the one below. Another way is to use movieclips
                and swapDepths to put the one of interest at the highest depth.
                tralfaz