# Loadmovie is out to get me \[argh! & MX\]

**URL:** <https://forum.kirupa.com/t/loadmovie-is-out-to-get-me-argh-mx/13626>\
**Category:** Uncategorized\
**Created:** [February 15, 2003, 7:19pm UTC](https://forum.kirupa.com/t/loadmovie-is-out-to-get-me-argh-mx/13626 "2003-02-15T19:19:33Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![kubik](https://avatars.discourse-cdn.com/v4/letter/k/74df32/32.png) [@kubik](https://forum.kirupa.com/u/kubik)\
**Post date:** [February 15, 2003, 7:19pm UTC](https://forum.kirupa.com/t/loadmovie-is-out-to-get-me-argh-mx/13626/1 "2003-02-15T19:19:33Z")

</div>

Here’s one that I couldn’t figure out if my life depended on it: :-\

I’m working on a site with a rather basic structure: The file “main.swf”, which contains the background images etc. will load two external swf’s:

```
 - the primary navigation (nav.swf)
 - site content (content01.swf)

```

nav.swf contains collapsible menus that will cover part of the content (content01.swf) while the user rolls over a primary link - that’s why I decided to load the navigation from an external file (nav.swf) into \_level9, so it always “floats” above everything else (content goes into \_level1).

content01.swf contains a secondary navigation for the user to navigate the stuff within content01.swf

my problem is now that the collapsible menus are (partially) transparent and, in one case, cover part of the secondary navigation within the content01.swf file.

While putting the site together, I helped myself with a nifty function that hides the secondary navigation in the content area while the primary nav is in roll over state - worked great.

But as soon as I created the external navigation file (nav.swf), it stopped working. The nav.swf file is loaded into an empty movie clip within main.swf like so:

[FONT=courier new][color=003366]onClipEvent (load) {  
loadMovieNum(“nav.swf”, 9);  
}[/color][/font]

Then (content01 is still on the main timeline, instance name “content01” - havent’ created separate file yet), when the user rolls over the link in question (a button in “nav.swf”), the following function is called

[FONT=courier new][color=003366]on (rollOver) {  
\_root.content01.hideButtons();  
\_root.menu.bt60.play(); \<- plays an animation (menu fade-out)  
}[/color][/font]

Now, as you can see, the function hiding all the secondary buttons “hideButtons()” is contained within the first frame of my “content01” MC - as long as the navigation and the content are on the same timeline, everything works fine - as soon as I load the navigation from an external file, the “hideButtons()” function doesn’t work anymore … hmpft.

As soon as it’s loaded into main.swf, shouldn’t my nav.swf recognize “\_root” as the main timeline in main.swf?

I hope I’m making at least some sense here … any tips would be greatly appreciated 🙂 ,

kubik

---

<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:** [February 15, 2003, 7:21pm UTC](https://forum.kirupa.com/t/loadmovie-is-out-to-get-me-argh-mx/13626/2 "2003-02-15T19:21:18Z")

</div>

Since you are using loadMovieNum try using \_level0 instead of \_root.

---

<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:** [February 15, 2003, 7:33pm UTC](https://forum.kirupa.com/t/loadmovie-is-out-to-get-me-argh-mx/13626/3 "2003-02-15T19:33:59Z")

</div>

well, well, well …

ain’t that a kick in the head!! not only did i out myself as a “flash-idiot” (aka newbie) (-: , your suggestions most certainly did the trick!

two questions still bothering me …

i tried “loadmovie” instead of “loadmovieNum” … wouldn’t work … hmmmm

since I’m quite new to flash, could you eventually point me to a source where i can get some background info regarding the differences between the two (laodmovie, loadmovieNum) … i’ve been searching for a while - couldn’t find anything useful (especially not in the MX help or the manual)

thanks a bunch (especially for the super quick reply) - the help is greatly appreciated!! =)

kubik

- who lived in philadelphia for two years (loved it!) and is german … even though “noch kein flasher fuer’s leben” (just yet)

---

<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:** [February 15, 2003, 7:46pm UTC](https://forum.kirupa.com/t/loadmovie-is-out-to-get-me-argh-mx/13626/4 "2003-02-15T19:46:56Z")

</div>

loadMovie() - [http://www.macromedia.com/support/flash/action\_scripts/actionscript\_dictionary/actionscript\_dictionary423.html](http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary423.html)

movieClip.loadMovie() - [http://www.macromedia.com/support/flash/action\_scripts/actionscript\_dictionary/actionscript\_dictionary537.html](http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary537.html)

loadMovieNum() - [http://www.macromedia.com/support/flash/action\_scripts/actionscript\_dictionary/actionscript\_dictionary424.html](http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary424.html)

And pretty much a required resource when learning Flash Actionscript… The Actionscript Dictionary…

[http://www.macromedia.com/support/flash/action\_scripts/actionscript\_dictionary/](http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/)

I hate it here in Philly. I cannot wait to leave this evil city. And don’t worry, you will be a flasher soon enough… YOU WILL CONVERT ■■■■ YOU!!! (sorry, I get a little crazy sometimes :beam: )

---

<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:** [February 15, 2003, 9:20pm UTC](https://forum.kirupa.com/t/loadmovie-is-out-to-get-me-argh-mx/13626/5 "2003-02-15T21:20:53Z")

</div>

hey lostinbeta, any particular city calling you? or anything besides Philly will do? ■■■■, you sure are resourceful . . .

---

<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:** [February 15, 2003, 11:46pm UTC](https://forum.kirupa.com/t/loadmovie-is-out-to-get-me-argh-mx/13626/6 "2003-02-15T23:46:51Z")

</div>

> \*Originally posted by subquark \*  
> \*\*hey lostinbeta, any particular city calling you? or anything besides Philly will do? Damn, you sure are resourceful . . . \*\*

I like it up in New Hampshire, and I also like it in Maryland. I like small quiet areas, so pretty much any area like that will do 🙂

And Thanks 🙂

---

<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:** [February 15, 2003, 11:52pm UTC](https://forum.kirupa.com/t/loadmovie-is-out-to-get-me-argh-mx/13626/7 "2003-02-15T23:52:23Z")

</div>

I live in Miami, am from Quebec and would like to move to Boston because our daughter is there and they speak english up there 😛

---

<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:** [February 15, 2003, 11:56pm UTC](https://forum.kirupa.com/t/loadmovie-is-out-to-get-me-argh-mx/13626/8 "2003-02-15T23:56:26Z")

</div>

I hear Boston is nice 🙂
