Tengo dias buscando un menu desplegable animado que se vea bien y no encuentro ninguno, teno uno que es para flash player 6 unicamente y no me funciona en el flash player 8, ya que el sitio que estoy desarrollando lo estoy creando en flash 8, pueden ver el menu en la siguiente direccion http://www.o2media.com.mx/modumex2 por favor aguien que me ayude.... :shock:

Les dejo el AS para que me digan por favor en que esta fallando.

Código :

yconrebote = function () { this.ty = (this.dir == "up") ? (this.ini_y) : (this.ini_y+45);this.vy = (this.vy+(this.ty-this._y)*1/this.accel)/this.friction;this._y += this.vy;};
// valores inciales para las movies.
// initial values for movies
init_vals = function (clip) { clip.accel = 0.85;clip.friction = 5;clip.ini_y = clip.ty=clip._y;clip.dir = "up";clip.yconrebote = yconrebote;trace(clip.yconrebote);};
// esta otra es para los submenus
// fades in or out submenus
MovieClip.prototype.myfade = function() {
   if (this._parent.dir == "down") {
      // va para abajo, mostremos los menues
      // goes down, so lets show the menus
      this._visible = 1;
      // fade in sólo si alfa <100
      // fades only if alfa<100
      this._alpha = ((100-this._alpha)>1) ? (this._alpha+(100-this._alpha)/5) : (100);
   }
   if (this._parent.dir == "up") {
      // fade out sólo si alfa >1, si es cero _visible=0
      // fades out if _alpha>1 else visible=0
      if (this._alpha>1) {
         this._alpha -= this._alpha/5;
      } else {
         this._alpha = 0;
         this._visible = 0;
      }
   }
};
// setea los clips
clips = [a];
for (var n = 0; n<clips.length; n++) {
   // inicializa los valores.
   init_vals(clips[n]);
   // enterframe
   clips[n].onEnterFrame = function() {
      this.yconrebote();
      if (this.dir == "down" && !this.hitTest(_root._xmouse, _root._ymouse)) {
         this.dir = "up";
      }
   };
   // head de los menu.
   clips[n].head.useHandCursor = false;
   clips[n].head.onRollOver = function() {
      this._parent.dir = "down";
   };
}