I’ve got a couple of things that I want to do with my menu, but I can’t
find a tutorial to help with one such thing.
I want the user to be able to actually drag down the menu until it hits
a point in which a sound will activate and it will hold it’s place…
kind of like a pull chain on a lamp. I also want it so that they can
pull it again and it’ll pull itself back up towards the top (back into
it’s original position).
I can’t find a tutorial that talks about how to do that.
my guess would be have the menu in an mc, with an invisible button that causes a startDrag() to occur on the menu movie clip, and then in an onEnterFrame test the _x and _y position of the menu movie clip, and if its at (or over) the final point, then remove the drag, set the x and y to the exact point and maybe set a variable that to zero that is used on the invisible button as a condition as to wether or not the drag will work (if you only want them to be able to move it into place once and then its stuck there).