PDA

View Full Version : Target Scene vs. loadMovieNum (Levels) ??


landrvr1
03-14-2006, 06:00 AM
A classic newbie question, I'm sure!

I've designed a new site in which I've got my main menu buttons on my 'home' scene.

The loadMovieNum action has been attached to my menu buttons, and each new scene is loaded as an .swf file.

The menu bar still shows up just as it should (along with all other artwork on my main scene) no matter what page I'm viewing.

Problem is, I've had a change of heart in terms of the design for the page. As each menu button is pressed and a new page comes up, I'd like my menu buttons (and other art from the main scene) to vanish.

Here is a great example of the kind of structure I'm looking for:

http://www.mackayandpartners.co.uk/

Once you click on a menu button, you are taken into a completely new environment; which tells me that perhaps the loadMovieNum/levels approach wasn't used, and that a simple Target Scene method was employed.

Any thoughts? Thanks much.

oldnewbie
03-14-2006, 07:22 AM
I doubt very much that this would be using different and several scenes...

Still dynamically loading a lot of stuff, and most probably loading different external .swfs in container clip holders or maybe even on levels..

landrvr1
03-14-2006, 06:01 PM
oldnewbie, your post got me thinking in another direction.

I ran across this bit of code that you suggested for someone else:

_level0.gotoAndStop("chaptr2");

Went back and added a frame label in my level0 scene in which nothing exists.

Once the new .swf comes up, I added your code above at the first frame of the actions layer, and replaced the "chaptr2" with my frame label name from level0, and it worked like a charm.

Added a back button, with this script

on (release) {
loadMovieNum("home.swf", 0);
}

and that gets me back to my level0 scene.

For the longest time I didn't set the level back to 0 (kept it on 50) so I was still getting my last .swf bleeding through.

I'm sure my description for the above suffers from my being such a newbie, but I hope you get the gist.

I'll post a link to my progress in a bit. Thanks much.

oldnewbie
03-14-2006, 07:17 PM
Ummmmmmmh! Don't quite get what you're saying!

landrvr1
03-14-2006, 11:40 PM
Ummmmmmmh! Don't quite get what you're saying!

Haha, I'm not surprised. Here is a link to my inprogress site.



The basic structure of the site is finally there. Now it's a matter of adding content to the pages. It's going to be agony, I'm sure...