El codigo es:
Código ActionScript :
//BUTTON FUNCTION: GET URL this.image_mc.bttn.onRelease = function() { //getURL(launchLink, "_blank"); }; //ON THUMBNAIL PRESS FUNCTION (LOAD LARGE IMAGE) clickAction = function (obj) { this.image_mc.holder._alpha = 0; loadMovie(image[obj.ID], this.image_mc.holder); launchLink = url[obj.ID]; txt_mc.txt.text = full_txt[obj.ID]; }; // INITIAL VARIABLES (ADJUST MENU SPACING AND SCROLL BUFFER HERE) var menuSpacing = 1; var menuHeight = this.menu_mc.image_mc._height+menuSpacing; var boundryHeight = mask_mc._height; var boundryWidth = mask_mc._width; var buffer = (menuHeight)*1; // INITIAL MOVIECLIP SETTINGS menu_mc.setMask(mask_mc); hover_mc.startDrag([lockCenter]); hover_mc._visible = false; txt_mc._visible = false; // LOAD FIRST IMAGE / COPY ON STARTUP loadMovie(image[0], this.image_mc.holder); launchLink = url[0]; txt_mc.txt.text = full_txt[0]; //BUILD THUMBNAIL MENU BASED ON XML DATA for (i=0; i<total; ++i) { this.menu_mc.image_mc.duplicateMovieClip("image_mc"+i, i); this.menu_mc["image_mc"+i]._y = (menuHeight)*i; loadMovie(thumb[i], this.menu_mc["image_mc"+i].holder); this.menu_mc["image_mc"+i].ID = i; } //SCOLLING MENU SCRIPT (DETECT MOUSE POSITION) this.onMouseMove = function() { if (this._ymouse>0 && this._ymouse<boundryHeight) { if (this._xmouse>0 && this._xmouse<boundryWidth) { ratio = this._ymouse/boundryHeight; diff = menu_mc._height-boundryHeight+buffer; destY = Math.floor(-ratio*diff)+buffer/1; } } }; this.onEnterFrame = function() { //SHOW AND HIDE COPY TEXT ON IMAGE ROLLOVER if (image_mc.holder.hitTest(_parent._xmouse, _parent._ymouse, true)) { txt_mc._visible = true; txt_mc.txt._height = txt_mc.txt.textHeight+5; txt_mc.bg._height = txt_mc.txt._height+20; txt_mc._y = image_mc._height-txt_mc._height; txt_mc._visible = true; } else { txt_mc._visible = false; } //SCOLLING MENU SCRIPT (SCROLL EASING) menu_mc._y += (destY-menu_mc._y)/10; if (menu_mc._y>0) { menu_mc._y = 0; } else if (menu_mc._y<(boundryHeight-menu_mc._height)) { menu_mc._y = boundryHeight-menu_mc._height; } }; stop();