PDA

View Full Version : pulldown menu


moraito1
06-05-2002, 03:40 PM
I'm designing a pulldown menu.
As the user rolls over, it opens, as he rolls out it closes...simple.

not really. if the user rolls out at any moment in time before the menu is fully open, I want that menu to begin to close.

it must be done through actionscripting on a counter I think.

any suggestions?

sfa
06-05-2002, 03:46 PM
Is the movement of the menu opening scripted or is it a tween?

SFA

moraito1
06-05-2002, 03:52 PM
i would imagine it would have to be scipted...if it were tweening, flash would have to know exactly the frame it was on when the user rolls out and jump to another frame at the same position and begin the close motion...seems impossible
It must be done through scripting

moraito1
06-05-2002, 03:54 PM
malta/melilla? africa? is that where you are?

sfa
06-05-2002, 03:55 PM
I was asking you the way you actually did it because it can be done both ways but it is easier if scripted. All you need to do is check the position of the menu when the roll out happens and go from there. Example if the menu has to go down to 50 pixels try if(menuitem._y < 50){ close te menu.

SFA

sfa
06-05-2002, 03:56 PM
No, Malta. island in the mediterranian, below scicily.

SFA

moraito1
06-05-2002, 03:58 PM
yes, I know it....I'm from Spain, almost did the military service there when I was 18
thanks for your help