# Jump to sub-categories in loaded .swf

**URL:** <https://forum.kirupa.com/t/jump-to-sub-categories-in-loaded-swf/15511>\
**Category:** Uncategorized\
**Created:** [March 15, 2003, 1:30am UTC](https://forum.kirupa.com/t/jump-to-sub-categories-in-loaded-swf/15511 "2003-03-15T01:30:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![daveg92656](https://avatars.discourse-cdn.com/v4/letter/d/c77e96/32.png) [@daveg92656](https://forum.kirupa.com/u/daveg92656)\
**Post date:** [March 15, 2003, 1:30am UTC](https://forum.kirupa.com/t/jump-to-sub-categories-in-loaded-swf/15511/1 "2003-03-15T01:30:32Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 15, 2003, 5:28am UTC](https://forum.kirupa.com/t/jump-to-sub-categories-in-loaded-swf/15511/2 "2003-03-15T05:28:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 15, 2003, 5:31am UTC](https://forum.kirupa.com/t/jump-to-sub-categories-in-loaded-swf/15511/3 "2003-03-15T05:31:18Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 15, 2003, 4:57pm UTC](https://forum.kirupa.com/t/jump-to-sub-categories-in-loaded-swf/15511/4 "2003-03-15T16:57:03Z")

</div>

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