I am having an issue making my AS animations move smoothly for some reason. I am new to OOP concepts. I am trying to make a simple break out game but before I go into full development I have been running some performance test on the best way to do things. I want the circles to move fast without flickering and the mouse movement flickers too. I have tried quite a few different AS treatments to get this to work including. onEnterFrame=function() , setInterval//about 4 different ways, and I did have updateAfterEvent() at the end of each function. I have also tried enumerating the actual mc such as mc+=5; also i tried enumerating a variable then applying the addition. Is there something I am missing and a reason why no matter what I do I get a flicker and a slight trail on my moving objects. At first I thought it was my updateAfterEvent not working, which I may be right on that because when I turned the framerate way down nothing different happened ( with the set Interval)… Any ideas out there? anyone with some AS 2.0 code that moves fast and smooth?
you can see the flicker on my mc’s and the trail, also you can see the bar is disapearing when you move it fast.
my testing location is
http://www.gladnick.com/gametest/