Sub Menus

I successfully completed the Kirupa tutorial on completing a Full Flash Site. However, I used the technique throughout my entire site and subsequently, my sub menus will not load.

Anyone know what I may be doing wrong?

Post your code or FLA. Unless you know the very specifics of your problem, I’d need to see the code. :slight_smile: I’m guessing it MIGHT be your labeling. Maybe you are missing a _root. tag or something?

http://www.omicrontauomega.com/test_movie.zip

Please excuse the crude navigation on the main movie. Oh, open “test_main_movie.fla” to begin. :wink:

There it is …

It’s a path issue, in your subfla’s you refer to maintimeline with _root, this works as standalone, but as soon as you load it in the main movie, _root refers to the timeline of that movie and not the loaded movie.
Change _root in _parent,
example:

on (release) {
	_parent.history.loadMovie("national.swf");
}

Tip: in your “textbuttons” draw a square with the size of your textfield in the “hit-state” (the 4th frame) of your button, works better;)

scotty(-:

Tip: in your “textbuttons” draw a square with the size of your textfield in the “hit-state” (the 4th frame) of your button, works better;)

scotty(-:

A friend of mine suggested that to me last night. Good looking out! :wink:

So, I should use “parent” in my sub menus and “root” only in my main navigation? Am I correct?

Yep, to be honest I only had a look at the history fla, but I think you _root in the others as well;)
Have a read here:

http://www.kirupa.com/developer/actionscript/tricks/relativeaddressing.htm
:slight_smile:

scotty(-:

THANK YOU! THANK YOU! THANK YOU! :slight_smile:

Will you look at something else for me, Scotty?

The green “photo gallery” heading is doing some funky fade thing. Can you check that out for me?

batting eyelashes

:p:

[url=“http://www.omicrontauomega.com/photos.fla”]

I d/l your fla, but see nothing weird:q:
Maybe you can explain again?

scotty(-:

When you click on each of the individual photo gallery links on the left side, the green “Photo Gallery” header does something strange.

Look at it carefully. It almost looks like the top half does a fade. :huh: