simple buttons won't work after startdrag and stopdrag
why doesn't my buttons that are in the MC: buttonmenu_mc, work?
i put the AS:
PHP Code:
this.buttonmenu_mc.onPress = function() {
// dragging buttonmenu_mc
_root.buttonmenu_mc.dragger_mc._visible = true;
startDrag(this);
};
this.buttonmenu_mc.onRelease = function() {
reActivateBtns();
changeOptionColor(this, overColor);
//this.enabled = false;
var old_x = this._x;
var old_y = this._y;
// moving position and scaling smaller of the buttonmenu_mc
this._x = Number(old_x);
this._y = old_y;
this._width = 500;
this._height = 200;
this.drag_txt.text = "Drag away";
// doesn't work?
this.drag_txt.onPress = this.drag_txt.onRollOver=function () {
this.text = "";
trace("dragtxt onpress");
};
_level0.myMCL.loadClip("page_info.swf", 5);
stopDrag();
};
if i onPress on this MC, it works, thus it drags..
after onRelease, it stops dragging. so that works.
But after onReleased, the buttons that are in that movie click don't work (won't trace, won't onRollover, won 't function), why?