PDA

View Full Version : How do I? - simple navigation algorithm?


Bernie X
02-28-2002, 03:25 AM
How do I? - simple navigation algorithm?

I?m trying to figure out how the people at miniml.com did their navigation. If you go to their site, they have designed the buttons to somehow control the tweens of masks. Does this involve having a separate layer with just that tween? After the mask (the tween) finishes how does the flash movie know where to go? Here is my algorithm:

function sceneMask(my_scene){
play MC with a mask to hide current scene;
unload swf;
target desired scene (or load desired swf);
play another MC with a mask to show selected scene;

//object action (e.g., for mouse button entitled ?Contact?);
On(release){
my_scene(contact);
}

view http://www.miniml.com/flash/index.html

for details
Please advise.

BX

Trmbne2000
03-02-2002, 03:16 AM
Um, you might try using some nested MCs, with invisible buttons with lots of telltarget actions. Other than that, I'm really not sure how you could reproduce that.

tg
03-02-2002, 07:44 AM
couldn't each menu (the main menu and the sub menus) just be in their own mcs and on rollout, just have the menu slide and fade the alpha?
seems like that would work pretty easily.