try this:
1.) change yo FPS to NOT be 12..use something like 33
2.) you mov_thumbs.. edit it.. so its not in the middle/centered..have the edge start at X:0
3.) use this code:
PHP Code:
stop();
but_right.onRollOver = function() {
mov_thumbs.onEnterFrame = function() {
this._x += 4;
if(mov_thumbs._x >= 0){
trace("edge reached");
delete mov_thumbs.onEnterFrame;
}
};
};
but_right.onRollOut = function() {
delete mov_thumbs.onEnterFrame;
};
but_left.onRollOver = function() {
mov_thumbs.onEnterFrame = function() {
this._x -= 4;
if((mov_thumbs._x + mov_thumbs._width) <= Stage.width){
trace("edge reached");
delete mov_thumbs.onEnterFrame;
}
};
};
but_left.onRollOut = function() {
delete mov_thumbs.onEnterFrame;
};