package{
import flash.display.MovieClip;
import flash.events.*;
public class index extends MovieClip {
glassy_group.addEventListener(MouseEvent.MOUSE_OVER, onGlassyOver);
glassy_group.addEventListener(MouseEvent.MOUSE_OUT, onGlassyOut);
public function onGlassyOver (evt:MouseEvent):void{
evt.target.alpha = 0.5;
}
public function onGlassyOut (evt:MouseEvent):void{
evt.target.alpha = 1;
}
}
}
|