
02.11.2005, 14:26
|
|
Регистрация: Oct 2005
Сообщений: 18
|
Все работает
на внешнем мувике:
onClipEvent (mouseDown) {
if(this.hitTest(_root._xmouse,_root._ymouse, true)){
startDrag (this);
s=1;
}
}
onClipEvent (mouseUp) {
stopDrag ();
s=2;
}
onClipEvent (enterFrame) {
if (s==1 and (this._alpha <= 100 or this._alpha > 100) and this._alpha > 50) {
this._alpha -= 3;
}
if (s==2 and this._alpha < 100 and this._alpha >= 40) {
this._alpha += 3;
}
}
На внутреннем мувике:
on(rollOver){trace ("onRollOver called");}
on(rollOut){trace ("onRollOut called");}
|