//коэфициент скорости _speedx = 1.5; //база _counter = 0; function onEnterFrame() { gotoAndStop(Math.round(_speedx * ++_counter)); }