Scrollbar en Actionscript3.0
bonjour,
Y'a t'il qqn qui pourra m'aider à modifier ce code en AS3
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
| _root.onEnterFrame = function(){
if(_root._ymouse<301){
myVar=false;
}
if(_root._ymouse>300){
myVar=true;
}
if(_root._xmouse<50 and myVar==true){
imgBar.prevFrame();
imgBar.prevFrame();
imgBar.prevFrame();
}
if(_root._xmouse>550 and myVar==true){
imgBar.nextFrame();
imgBar.nextFrame();
}else{
imgBar.play();
}
if(_root._xmouse>50 && _xmouse>550 && myVar==true){
imgBar.stop();
}
} |
Merci