var speed:Number = 15;
nextScroll_btn.onPress = function(){
_root.onEnterFrame = function(){
if(scroll_img._x > - 475){
scroll img._x -= speed;
}
}
}
nextScroll_btn.onRelease = function(){
delete_root.onEnterFrame;
}
prevScroll.onPress = function(){
_root.onFrameframe = function(){
if(scroll_img._x < 23){
scroll img._x += speed;
}
}
}
prevScroll.onRelease = function(){
delete_root.onEnterFrame;
}
I don't know anything about AS1.0/2.0, i tried to do a image gallery with button to scroll the image using this video: