Increasing speed

i’m using this code for increasing speed:

onEnterFrame = function() {
    mult = 1.5;
    speed = 1;
    speedy = speed * mult;
    ball._x += speedy; 
}

it wont work.

how do i fix it?