Drag menu in flash
Drag menu in flash
Out of context: Reply #1
- Started
- Last post
- 5 Responses
- unfittoprint0
the menu.onPress event overlaps the buttons events beneath...
You should make an invisble button inside the menu (the same size as it), beneath the buttons and put this in the menu's action layer:
// DRAG MENU
dragButton.onPress = function () {
startDrag(this._parent,false,0,0...
1024,560);}
dragButton.onRelease = function () {
stopDrag();
}