月之清凉吧 关注:5贴子:1,789
  • 1回复贴,共1

大家一起给清凉下一个定义吧

取消只看楼主收藏回复

什么是清凉呢?我也不能肯定的说出来,吧主是怎么定义的呢?
在我看来,也许考完试后的解脱感,大病初愈后第一次出门的新鲜感,还有很久没见的朋友的突然来信,都是清凉吧,所以我还是觉得如果我给它做了明确的定义也许会抹杀了人们心中自己的清凉吧,所以大家也一起讨论一下自己心中的清凉吧。


1楼2004-06-14 11:49回复
    给大家一个漂亮,清凉的FLASH AS//Coded by Darkvn 2003.8.21
    //CopyRight(C) Blueidea.com 2003
    //仅供学习,勿作商业用途。
    var menu_Lables=new Array("Home","Service","Products","Solution","About","Feedback","Other","More");
    var menu_URLs=new Array("/Home","/Service","/Products","/Solution","/About","/Feedback");
    var menu_minScale=100;
    var menu_maxScale=130;
    var menu_StartX=300;
    var menu_StartY=30;
    var IconNumber=9;
    var Icon_minScale=30;
    var Icon_maxScale=60;
    var Icon_Space=4;

    var DockMenu=createEmptyMovieClip("dmenu",10);
    DockMenu._x=menu_StartX;
    DockMenu._y=menu_StartY;
    for(var i=0;i<IconNumber;i++){
    var theItem=DockMenu.attachMovie("icon"+i,"item"+i,i+10);
    theItem.attachMovie("label","ilabel",10);
    theItem.preItem=DockMenu["item"+(i-1)];
    theItem._x=theItem.preItem._x+theItem.preItem._width+Icon_Space;
    theItem.ilabel.label.text=menu_Lables[i];
    theItem.ilabel._visible=false;
    theItem.URL=menu_URLs[i];
    theItem._xscale=Icon_minScale;
    theItem._yscale=Icon_minScale;
    theItem.onRollOver=function(){
    this.ilabel._visible=true;
    }
    theItem.onRollOut=theItem.onReleaseOutside=function(){
    this.ilabel._visible=false;
    }
    theItem.onRelease=function(){
    getURL(this.URL);
    }
    theItem.onEnterFrame=function(){
    if(this._parent.mover){
    var scale=Icon_maxScale-Math.abs(DockMenu._xmouse-this._x-30)/5;
    if (scale<Icon_minScale) scale=Icon_minScale;
    this._xscale+=(scale-this._xscale)/3;
    this._yscale+=(scale-this._yscale)/3;
    }
    if(this._parent.mout){
    this._xscale+=(Icon_minScale-this._xscale)/3
    this._yscale+=(Icon_minScale-this._yscale)/3
    }
    this._x+=(this.PreItem._x+this.PreItem._width+Icon_Space-this._x)/3;
    }
    }
    var theBGBox=DockMenu.attachMovie("bgbar","bgbox",1);
    theBGBox.onEnterFrame=function(){
    this._x=DockMenu["item0"]._x;
    this._width=DockMenu["item"+(IconNumber-2)]._x+DockMenu["item"+(IconNumber-2)]._width-DockMenu["itemCon"]._x;
    }

    DockMenu.onEnterFrame=function(){
    if(this.mover){
    this._xscale+=(menu_maxScale-this._xscale)/4;
    this._yscale+=(menu_maxScale-this._yscale)/4;
    }
    if(this.mout){
    this._xscale+=(menu_minScale-this._xscale)/4;
    this._yscale+=(menu_minScale-this._yscale)/4;
    }
    this._x+=(-this._width/2+menu_StartX-this._x)/3;
    }

    DockMenu.onMouseMove=function(){
    if(this.hitTest(_root._xmouse,_root._ymouse,false)){
    this.mover=true;
    this.mout=false;
    }else{
    this.mover=false;
    this.mout=true;
    }
    }


    9楼2004-06-20 22:05
    回复