onClipEvent (load) { this.logos.gotoAndStop(_root.desprazar++); speed = _root.speed; final_width = _root.minis_x; final_height = _root.minis_y; final_x = this._x; final_y = this._y; startx = this._x; starty = this._y; } onClipEvent (enterFrame) { width = width*bounce+(final_width-this._width)*speed; this._width += width; if (Math.abs(final_width-this._width)<1) { this._width = final_width; } height = height*bounce+(final_height-this._height)*speed; this._height += height; if (Math.abs(final_height-this._height)<1) { this._height = final_height; } x = x*bounce+(final_x-this._x)*speed; this._x += x; if (Math.abs(final_x-this._x)<1) { this._x = final_x; } y = y*bounce+(final_y-this._y)*speed; this._y += y; if (Math.abs(final_y-this._y)<1) { this._y = final_y; } this._alpha = _root.alphamin+(100-_root.alphamin)*(this._x-_root.minis_x)/(_root.big_x-_root.minis_x); } onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse)) { _parent._parent[_root.url].imagen.final_width = _root.minis_x; _parent._parent[_root.url].imagen.final_height = _root.minis_y; _parent._parent[_root.url].imagen.final_x = _parent._parent[_root.url].imagen.startx; _parent._parent[_root.url].imagen.final_y = _parent._parent[_root.url].imagen.starty; _root.url = _parent._name; final_width = _root.big_x; final_height = _root.big_y; final_x = _root.desprazar_x-_parent._x; final_y = _root.desprazar_y-_parent._y; } }