# Moving symbol across screen

**URL:** https://forum.kirupa.com/t/moving-symbol-across-screen/35686
**Category:** Uncategorized
**Created:** [November 16, 2003, 11:59pm UTC](https://forum.kirupa.com/t/moving-symbol-across-screen/35686 "2003-11-16T23:59:11Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![eXa\_bOy](https://avatars.discourse-cdn.com/v4/letter/e/e95f7d/32.png) [@eXa\_bOy](https://forum.kirupa.com/u/eXa_bOy)
#### Post date: [November 16, 2003, 11:59pm UTC](https://forum.kirupa.com/t/moving-symbol-across-screen/35686/1 "2003-11-16T23:59:11Z")

</div>

Ive posted once before and didnt get much response. but thats ok 🙂 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:
