MovieClip.prototype.soyBoton = function() {
var tamaño = 110;
var mover = 2;
var micolor = new Color(this);
this.onRollOver = function() {
};
this.onRollOut = function() {
};
this.onMouseDown = function() {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.oIsDown = true;
_parent.dragger._y = this._ymouse;
}
};
this.onMouseUp = function() {
if (this.oIsDown) {
this.oIsDown = false;
}
};
};
this.soyBoton();
this.onMouseWheel = function(incre) {
dragger._y -= incre*6;
if (dragger._y>inferior) {
dragger._y = inferior;
}
if (dragger._y<superior) {
dragger._y = superior;
}
};
Mouse.addListener(this);
Muchisimas gracias.
