Drag menu in flash
Drag menu in flash
Out of context: Reply #4
- Started
- Last post
- 5 Responses
- unfittoprint0
the dragButon refers to the drag button not the _level0, so you have to call the button's parent to achieve the drag action:
menu.dragButton.onPress = function () {
startDrag(this._parent, false,0,0, 1024,560);}
menu.dragButton.onRelease = function () {
stopDrag();
}good luck.