Jump to sub-categories in loaded .swf

Hey All, any help would be great. I was wondering if there is a way to jump to a specific frame name when loading a new .swf file?

For example, I have my Main.swf which holds the navigation. Then I created 5 other .swfs to hold the content.

Depending what button is pushed, I will load the correct movie into a placeholder MC on the main screen.

However, I want to jump to a specific point within the new movie, can I do that? I am loading by levels in which I am using the level 0 each time so the new page takes over and the previous page is not transparent seeing through. So, on the buttons, I am using the basic:

on (release) {
loadMovieNum (“content1.swf”, 0);
}

then, content2, etc. So, if I want to jump to a certain frame name within ‘content1’ what code will get me there? Can I just use

on (release){
content1.gotoAndPlay(“category1”)
}

I tried that, but could not get it to work. Also, since I am loading by level, does that sort of over ride my loading into placehold or what is the major difference?

thanks, dave.

Hi,
Try loading the movies into _level1, then you can try this code - or a variation of it - you may need to play around a bit as I haven’t tested it, in theory it should work :

          on(release){
              l oadMovie("content.swf",1);
             _level1.gotoAndPlay("category1");
              _level0._visible = false;

             }

Hope that helps

SteveD

or, if your stuff is on your stage you can put _root. in front of it… like

on (release) {
**_root.**loadMovieNum (“content1.swf”, 0);
}

and do that for all the times you try to access stuff on the stage. its easier than accessing specific levels, and it always works for me

hope it helps

thanks for the replies, I will take note and try both. i’m sure i will be back with more questions. thanks, dave.