i=movie._totalframes;
ww=rule._width;
bb=i/ww;
xx1=control._x;
yy=control._y;
ctt=true;
control.onPress=function(){
ctt=false;
this.startDrag(0,xx1,yy,(xx1+ww),yy);
this.onEnterFrame=function(){
if(ctt==false){
xx2=control._x;
n=Math.round(xx2-xx1)*bb;
movie.gotoAndStop(n);
}
}
}
control.onRelase=function(){
this.stopDrag();
ctt=true;
}
_root.onEnterFrame=function(){
if(ctt==true){
nn=movie._currentframe;
control._x=nn/bb+xx1;
}
}
按钮语言
一
on (release){
movie.play();
tt=false;
}
二
on (release){
n=movie._currentframe;
tt=true;
control.onEnterFrame=function(){
if(n<i&&tt==true){
n+=0.5;
m=Math.round(n);
movie.gotoAndPlay(m);
}
}
}
ww=rule._width;
bb=i/ww;
xx1=control._x;
yy=control._y;
ctt=true;
control.onPress=function(){
ctt=false;
this.startDrag(0,xx1,yy,(xx1+ww),yy);
this.onEnterFrame=function(){
if(ctt==false){
xx2=control._x;
n=Math.round(xx2-xx1)*bb;
movie.gotoAndStop(n);
}
}
}
control.onRelase=function(){
this.stopDrag();
ctt=true;
}
_root.onEnterFrame=function(){
if(ctt==true){
nn=movie._currentframe;
control._x=nn/bb+xx1;
}
}
按钮语言
一
on (release){
movie.play();
tt=false;
}
二
on (release){
n=movie._currentframe;
tt=true;
control.onEnterFrame=function(){
if(n<i&&tt==true){
n+=0.5;
m=Math.round(n);
movie.gotoAndPlay(m);
}
}
}

