Groups | Blog | Home
all groups > flash (macromedia) > october 2004 >

flash (macromedia) : Drop Down Menus


phattymatt
10/29/2004 9:33:02 PM
Is there a good way to turn the 'over' state of a button into a pull down menu?
I've tried nesting other buttons with-in the over-state of an existing button,
and Flash will let me attach action script to the nested button, but, the
nested button will show up when I'm in the 'hit-zone' of the parent button, and
then disappear as I try to roll over it. There's got to be a simple secret
that I'm missing. Any help? :confused;
jameslyon
10/30/2004 12:02:40 AM
urami_
10/30/2004 7:35:51 AM


[quoted text, click to view]

The thing is you can't nest button within button.
You need Movie clip with button which on roll over travel to another frame of the
movie clip with more buttons. Buttons get into collision of hit zones if you place
them within each other.
I just posted last night drop down sample , they all follow similar principle so let
me paste the whole post :



Here is a simple menu , drop down menu I made for someone from the forum.
it's utilize really minimum of action script so it should not be too complicated.
Most of the drop downs work on same principle , the cosmetics and final look
is totally up to the creator, way of constructing it's pretty similar in all cases.

http://www.flashfugitive.com/ang-zhang/drop_down/
d/l
http://www.flashfugitive.com/ang-zhang/drop_down/drop_down.zip

Here is one more sample provided by Segio Valdez , it's our forum participant.
Made based on the above sample but to reassemble the Macromedia.com menu :
http://www.flashfugitive.com/ang-zhang/drop_down/bti_dropdown.swf
d/l
http://www.flashfugitive.com/ang-zhang/drop_down/bti_dropdown.zip

--

--


Regards


urami_*

<hol>
http://flashfugitive.com/
</hol>


By The way:
AddThis Social Bookmark Button