# \[mx\] any idea how to design a menu like on paul smith?

**URL:** <https://forum.kirupa.com/t/mx-any-idea-how-to-design-a-menu-like-on-paul-smith/25490>\
**Category:** flash\
**Created:** [July 13, 2003, 3:11pm UTC](https://forum.kirupa.com/t/mx-any-idea-how-to-design-a-menu-like-on-paul-smith/25490 "2003-07-13T15:11:08Z")\
**Posts on this page:** 14\
**Page:** 2

<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:** [July 16, 2003, 12:18am UTC](https://forum.kirupa.com/t/mx-any-idea-how-to-design-a-menu-like-on-paul-smith/25490/21 "2003-07-16T00:18:48Z")

</div>

Well first i need to understad how exactly you plan to use that variable and how you will structure the transition. Are you familiar with transitions?

ps: yes, im a drum and bass fan 🙂

---

<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:** [July 16, 2003, 12:28am UTC](https://forum.kirupa.com/t/mx-any-idea-how-to-design-a-menu-like-on-paul-smith/25490/22 "2003-07-16T00:28:57Z")

</div>

hmm, tough question. I haven’t totally figured that out!(i’m useless).

I will probalby have a timeline with a content mc. Inside that i will put a transition then have a “holding” frame where i will load in the new movie:

i.e. \_root.content.holder.loadMovie (“movie” + \_root.Loaditup + “.swf”);

or similar, then when that movie has completely loaded, the timeline will contiue with the rest of the transition.

so “outro” \>holding frame \>movie loaded \> “intro” of new movie.

But i can figure this out myself, just need to have some control over what happens when the user clicks the sub-menu buttons, and in some case where there is no sub menu, what happens when the user clicks the that top level button.

so that’s basically it. If you know a better way to do the transitions, i’m all ears for that too (although i may be able to design a couple of functions that deal with that transition without using the timeline at all, working on something

---

<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:** [July 16, 2003, 12:42am UTC](https://forum.kirupa.com/t/mx-any-idea-how-to-design-a-menu-like-on-paul-smith/25490/23 "2003-07-16T00:42:37Z")

</div>

Hmm tough topic… i have done something similar… [http://www.kirupa.com/developer/mx/preloader\_transition.htm](http://www.kirupa.com/developer/mx/preloader_transition.htm)

Ok, lemme start thinking. On the buttons that doesnt have sub-itens:  
I would assign a value to a variable. Then call transition mc to play. On the transition mc i would have an action to load the variable exactly as you mentioned before.

Now, the buttons with sub itens:  
I would make the same as i did with the other buttons, except that i would assign the value to the variable inside the links array. Then call transtion mc and bla bla bla…

---

<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:** [July 16, 2003, 12:47am UTC](https://forum.kirupa.com/t/mx-any-idea-how-to-design-a-menu-like-on-paul-smith/25490/24 "2003-07-16T00:47:58Z")

</div>

right, so how would you assign a value to a variable on the buttons without the sub-items? It’s gotta be in one of those function right? but how to do?

As for the transition, i had a look at this tut and it is a good starting point, but i think i am a little further along with regards this.

thanks for the help, if you figure out how to do the things, it would be wicked!

i’m off to bed - it’s 2am here - but i’ll check in tomorrow.

thanks dude,

kd

---

<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:** [July 16, 2003, 12:55am UTC](https://forum.kirupa.com/t/mx-any-idea-how-to-design-a-menu-like-on-paul-smith/25490/25 "2003-07-16T00:55:43Z")

</div>

Open the blue button. There are a few actions on it: [AS]on(release){  
\_root.tasto=tasto;  
\_root.traguardi();  
\_root.spegni();  
gotoAndStop(5);  
// assign the variable here  
}[/AS]

---

<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:** [July 16, 2003, 6:06am UTC](https://forum.kirupa.com/t/mx-any-idea-how-to-design-a-menu-like-on-paul-smith/25490/26 "2003-07-16T06:06:05Z")

</div>

Anyway to turn that badboy to make it open sideways?

---

<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:** [July 16, 2003, 9:51am UTC](https://forum.kirupa.com/t/mx-any-idea-how-to-design-a-menu-like-on-paul-smith/25490/27 "2003-07-16T09:51:12Z")

</div>

claudio,

Your suggestion won’t work because you assume that only one of the buttons has no sub-menu.

lemme show you how i want it:

homepage --\> NO SUB

about --\> 2 SUBS  
profile  
press

Collections --\> 3 SUBS  
collection1  
collection2  
collection3

Stock --\> 7 SUBS  
stock1  
stock2  
stock3  
stock4  
stock5  
stock6  
stock7

Contact --\> NO SUBS

So you see, if i put the variable on the actual button, then every time i press any blue button, that variable will have the same value.

I’m thinking that i need to somehow change the spegni function  
or maybe add another array just for the top buttons.

I am getting somewhere, but this is hard!

If you think of anything let me know

thanks,

kd

---

<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:** [July 16, 2003, 1:24pm UTC](https://forum.kirupa.com/t/mx-any-idea-how-to-design-a-menu-like-on-paul-smith/25490/28 "2003-07-16T13:24:07Z")

</div>

Ok now i got your point…

---

<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:** [July 16, 2003, 1:39pm UTC](https://forum.kirupa.com/t/mx-any-idea-how-to-design-a-menu-like-on-paul-smith/25490/29 "2003-07-16T13:39:17Z")

</div>

Hmm ok, ive added a few lines of code and it seems to be working as you want. There are other ways to check if the button has or not sub itens, but since its not my code i wont crack my head over it. Heres the file.

---

<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:** [July 16, 2003, 2:11pm UTC](https://forum.kirupa.com/t/mx-any-idea-how-to-design-a-menu-like-on-paul-smith/25490/30 "2003-07-16T14:11:18Z")

</div>

> \*Originally posted by misterpaul \*  
> \*\*Anyway to turn that badboy to make it open sideways? \*\*  
> Yes it is possible.

---

<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:** [July 17, 2003, 10:25am UTC](https://forum.kirupa.com/t/mx-any-idea-how-to-design-a-menu-like-on-paul-smith/25490/31 "2003-07-17T10:25:35Z")

</div>

hehe, go go go claudio! you can do it!

---

<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:** [July 17, 2003, 1:37pm UTC](https://forum.kirupa.com/t/mx-any-idea-how-to-design-a-menu-like-on-paul-smith/25490/32 "2003-07-17T13:37:06Z")

</div>

I dont think im up to the challenge… 😛 😛

---

<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:** [July 19, 2003, 2:42pm UTC](https://forum.kirupa.com/t/mx-any-idea-how-to-design-a-menu-like-on-paul-smith/25490/33 "2003-07-19T14:42:24Z")

</div>

Im not sure if this will help , but if you look in your flash folder on your hard drive (C:\Program Files\Macromedia\Flash MX\First Run\Templates\Menus) , they have one already built that looks similar to the one on the page you want to mimic. All you have to do is customize it. JUST A THOUGHT…

---

<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:** [July 19, 2003, 10:52pm UTC](https://forum.kirupa.com/t/mx-any-idea-how-to-design-a-menu-like-on-paul-smith/25490/34 "2003-07-19T22:52:20Z")

</div>

I didnt even know that folder 😛 😛  
thx for the info

[Previous page](https://forum.kirupa.com/t/mx-any-idea-how-to-design-a-menu-like-on-paul-smith/25490.md?page=1)
