all groups > flash actionscript > july 2006 >
You're in the

flash actionscript

group:

Instead of onPress, is there an offPress



Instead of onPress, is there an offPress MediaMan5335
7/11/2006 8:56:07 PM
flash actionscript: I am attempting to make my own drop down menu (combobox) When you click on the
first item, it goes to and plays a movie where all the other 5 buttons apear
below it. I want it to act like a combo box and have it so when you click
anywhere else, it will close (or gotoAndStop(10.
Is there any command that is like on Press but it means when the mouse is
clicked anywher else but the target button?
Thanks.
Re: Instead of onPress, is there an offPress Wolf van Ween
7/11/2006 9:05:49 PM
Doesn't exist.
Re: Instead of onPress, is there an offPress 2m
7/11/2006 9:36:24 PM
Re: Instead of onPress, is there an offPress Rothrock
7/11/2006 10:30:54 PM
Well isn't onRelease something like offPress, isn't it?

But perhaps Button.trackAsMenu and/or MovieClip.trackAsMenu are what you are
looking for? I've never really used them much, just in a tutorial or three a
very long time ago.
Re: Instead of onPress, is there an offPress designdrumm.com
7/11/2006 10:51:28 PM
Re: Instead of onPress, is there an offPress designdrumm.com
7/11/2006 10:57:18 PM
For your clicking on the background to make the menue disapear, you can make an
invisible button behind the menus that is as big as your webpage or viewing
area and when you click this, then it will take you to frame 10 or which ever
you have allocated to display your site before the menus were visible. Make
sure this "big" button is below any of your hot linked items and above any of
the stagnant graphics and it should work for what your trying to accomplish.

My example is : www.nevrland.net click on a menu and then click anywhere
behind the menus and they disapear.

designdrumm.com
AddThis Social Bookmark Button