# Laggy \_x-movement, need some help!

**URL:** <https://forum.kirupa.com/t/laggy--x-movement-need-some-help/202530>\
**Category:** flash\
**Created:** [October 2, 2006, 2:47pm UTC](https://forum.kirupa.com/t/laggy--x-movement-need-some-help/202530 "2006-10-02T14:47:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bokke](https://avatars.discourse-cdn.com/v4/letter/b/5f9b8f/32.png) [@Bokke](https://forum.kirupa.com/u/Bokke)\
**Post date:** [October 2, 2006, 2:47pm UTC](https://forum.kirupa.com/t/laggy--x-movement-need-some-help/202530/1 "2006-10-02T14:47:29Z")

</div>

Hi all!

Im making a slidebased website in flash and there is a problem.  
The possition of those black boxes is controlled bij the mouse, but…  
Its laggy! the swf is flickering and i dont know why! :puzzle:

Btw, im talking about [THIS FILE](http://me3a.nl/xMovement.swf)

## Does annyone know how this can be fixed? The swf has a framerate of 25fps, and it doesnt matter if i in/decrease it. Also, the motion is done like this:

## blackBox.\_x += extraX;

Ive made the script myself, but im not a pro, so maybe its the wrong approach?  
I hope u can help me, thanx! =)

[URL=“[http://me3a.nl/xMovement.swf](http://me3a.nl/xMovement.swf)”]
