I’ve got dynamic buttons, but obviously the rollover and rollout will be the same, but when I have a stab at enabling rollover functions, the buttonactions die
please help:stare:
for (i=0; i<5; i++) {
b = _root.attachMovie("stagebut", "button"+i, _root.getNextHighestDepth());
b._x = 50*i+465;
b._y = 278;
b.id = i;
b.dynT.text = b.id+1;
//b = tVar
/*
b.onRollOver = function() {
this.gotoAndStop(2);
};
b.onRollOut = function() {
this.gotoAndStop(1);
};*/
}
button0.onRelease = function() {
trace("button"+this.id+"pressed");
this._parent.gotoAndStop(3);
this._parent.mainfoot.gotoAndPlay("slicetop");
this._parent.origin1._visible = false;
this._parent.origin2._visible = false;
this._parent.finish._visible = false;
this._parent.mainfoot._visible = true;
//this.sidefoot.gotoAndPlay("sideslice");
desc_txt.text = "Remove base wedge, medial cortex of the metatarsal remains to act as a hinge.";
};