Hola a todos, bueno mi preg es que como podria reducir este codigo:
excel_mc.onRollOver = function() {
this._xscale = 125;
this._yscale = 125;
};
excel_mc.onRollOut = function() {
this._xscale = 100;
this._yscale = 100;
};
excel_mc.onPress = function() {
this.startDrag();
};
excel_mc.onRelease = function() {
this.stopDrag();
};
word_mc.onRollOver = function() {
this._xscale = 125;
this._yscale = 125;
};
word_mc.onRollOut = function() {
this._xscale = 100;
this._yscale = 100;
};
word_mc.onPress = function() {
this.startDrag();
};
word_mc.onRelease = function() {
this.stopDrag();
};
per_mc.onRollOver = function() {
this._xscale = 125;
this._yscale = 125;
};
per_mc.onRollOut = function() {
this._xscale = 100;
this._yscale = 100;
};
per_mc.onPress = function() {
this.startDrag();
};
per_mc.onRelease = function() {
this.stopDrag();
};
corel_mc.onRollOver = function() {
this._xscale = 125;
this._yscale = 125;
};
corel_mc.onRollOut = function() {
this._xscale = 100;
this._yscale = 100;
};
corel_mc.onPress = function() {
this.startDrag();
};
corel_mc.onRelease = function() {
this.stopDrag();
};
photo_mc.onRollOver = function() {
this._xscale = 125;
this._yscale = 125;
};
photo_mc.onRollOut = function() {
this._xscale = 100;
this._yscale = 100;
};
photo_mc.onPress = function() {
this.startDrag();
};
photo_mc.onRelease = function() {
this.stopDrag();
};
winzip_mc.onRollOver = function() {
this._xscale = 125;
this._yscale = 125;
};
winzip_mc.onRollOut = function() {
this._xscale = 100;
this._yscale = 100;
};
winzip_mc.onPress = function() {
this.startDrag();
};
winzip_mc.onRelease = function() {
this.stopDrag();
};
winrar_mc.onRollOver = function() {
this._xscale = 125;
this._yscale = 125;
};
winrar_mc.onRollOut = function() {
this._xscale = 100;
this._yscale = 100;
};
winrar_mc.onPress = function() {
this.startDrag();
};
winrar_mc.onRelease = function() {
this.stopDrag();
};
win_mc.onRollOver = function() {
this._xscale = 125;
this._yscale = 125;
};
win_mc.onRollOut = function() {
this._xscale = 100;
this._yscale = 100;
};
win_mc.onPress = function() {
this.startDrag();
};
win_mc.onRelease = function() {
this.stopDrag();
};
nod_mc.onRollOver = function() {
this._xscale = 125;
this._yscale = 125;
};
nod_mc.onRollOut = function() {
this._xscale = 100;
this._yscale = 100;
};
nod_mc.onPress = function() {
this.startDrag();
};
nod_mc.onRelease = function() {
this.stopDrag();
};
power_mc.onRollOver = function() {
this._xscale = 125;
this._yscale = 125;
};
power_mc.onRollOut = function() {
this._xscale = 100;
this._yscale = 100;
};
power_mc.onPress = function() {
this.startDrag();
};
power_mc.onRelease = function() {
this.stopDrag();
};
panda_mc.onRollOver = function() {
this._xscale = 125;
this._yscale = 125;
};
panda_mc.onRollOut = function() {
this._xscale = 100;
this._yscale = 100;
};
panda_mc.onPress = function() {
this.startDrag();
};
panda_mc.onRelease = function() {
this.stopDrag();
};
acrobat_mc.onRollOver = function() {
this._xscale = 125;
this._yscale = 125;
};
acrobat_mc.onRollOut = function() {
this._xscale = 100;
this._yscale = 100;
};
acrobat_mc.onPress = function() {
this.startDrag();
};
acrobat_mc.onRelease = function() {
this.stopDrag();
};
como veran es la misma accion para varios movie clips........................
si hay alguna manera de hacer mas pequeña.......