Moving symbol across screen

Ive posted once before and didnt get much response. but thats ok :slight_smile: ive got a simplier question now.

i want to move myBall._x 5 pixels every second. here is my code that i have placed in the “actions for Frame1 of Layer Name myBall”…

onClipEvent (load) {
setInterval(moveIt(),1000);
function moveIt(){
this._x = this._x + 5;
}
}

im still struggling to grasp where MX ActionScript is placed.

any suggestions? thank you :whistle: