Last thread for today - Hopefully!

Why does this not work? The left button stays “out of work” when i move to a different position!

left_btn.onRelease = function (){
movon (indhold_mc._x + 50)
};

if (indhold_mc._x > -92.0) {
left_btn.enabled = false;
} else if (indhold_mc._x < -92.0) {
left_btn.enabled = true;
}

Thanks

-JPAG