Pues eso... bonones dinamicos con texto,efecto elastico y alpha...
Lo k hace el ocio....
Espero k les sea util
Copiar y pegar...
code------------------------------>
MovieClip.prototype.elastico = function(finalValue,finalValue2) {
this.onEnterFrame = function() {
this.speedX = this.speedX*.3+((finalValue-this._xscale)*0.7);
this._xscale += this.speedX;
this._alpha += (finalValue2-this._alpha)/6.3;
};
};
/********** formato ***********/
myformat = new TextFormat();
myformat.font = "Warren";
myFormat.bold = true;
myformat.color = 0x006699;
myformat.bullet = false;
myformat.size = 17;
myformat.underline = false;
myformat.embedFonts = true;
myformat.autoSize = true;
myformat.border = true;
/************** for **********/
for(i=1;i<4;i++){
_root.createEmptyMovieClip("menu"+i,i);
_root["menu"+i].lineStyle(5,0x006699,100);
_root["menu"+i].moveTo(-140,-21);
_root["menu"+i].beginFill(0xccff00,100);
_root["menu"+i].lineTo(140,-21);
_root["menu"+i].lineTo(140,21);
_root["menu"+i].lineTo(-140,21);
_root["menu"+i].lineTo(-140,-21);
_root["menu"+i].endFill();
_root["menu"+i]._x= 100;
_root["menu"+i]._y=i * 50;
_root["menu"+i]._alpha=35;
_root["menu"+i].onEnterFrame = function(){
this.createTextField("tF",1,-35,-10,100,25);
this.tF.selectable = 0;
this.tF.setNewTextFormat(myformat);
this.tF.text = "MENU " + this.getDepth();
};
_root["menu"+i].onRollOver = function(){
this.elastico(120,100);
}
_root["menu"+i].onRollOut = function(){
this.elastico(100,35);
}
_root["menu"+i].onPress = function(){
trace("clikeado "+ "y yo me llamo " + this._name);
}
}//for
---------------------------------------------------<
Salu2