.
        .
        .
         //改变状态 
			        this.addEventListener(MouseEvent.DOUBLE_CLICK,changeImg);	
        .   
        .
        .
	//改变
	public function changeImg():void {
			
	    arguments; //如果方法没有参数,则必须在方法中添加这个声明
			
	    if(this.source == img0) {
	        this.source = img1;
	    } else {
		            this.source = img0;
		      }
        }
posted on 2012-04-15 12:20 
aya000 阅读(1468) 
评论(0)  编辑  收藏