eset boton en teoria deberia marcarsele el borde cuando lo clickeas pero no... y no se por q no se q esta mal; aqui esta el codigo
Código :
var borde:Number = 0;
_root.createEmptyMovieClip("fade", 1);
with(fade){
this.lineStyle (1, 0x000000,borde);
this.beginFill(0x666666,50);
this.moveTo(100,100);
this.lineTo(200,100);
this.lineTo(200,120);
this.lineTo(100,120);
this.lineTo(100,100);
this.endFill();
this.onEnterFrame = function (){
this._alpha += (this.a - this._alpha) /6;
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.a = 50;
} else{
this.a = 100;
}
}
this.onMouseDown = function (){
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
trace("I'm a beautifull button");
borde = 100;
}
}
} 