Uncontrollable Stuttering

So I just ran a little test in questCarMain.
below createBG();
i added createTester();
Code:
private function createTester():void{
         //addChild(new sky());
                  
         sdasda = new crystals();
         addChild(sdasda);
         sdasda.addEventListener(Event.ENTER_FRAME, enterframe);
         
      }
private function enterframe (e:Event):void {
         e.currentTarget.x -= 5;
      }

What I got was a flickering crystal graphic.

So here's what I'm thinking - your graphics aren't stuttering, they're flickering.
And the reason is... I don't know. Something somewhere in your code is doing something to the graphics?
And just when I thought that was weird, I changed the speed from 5 to 10 and the crystals shrank in size.

Anyway, I do think the problem is somewhere in the timer. "My" crystals flicker like crazy, while "your" crystals that have values for the timer flicker much less.

EDIT: Alright, I just noticed you said removing the timer didn't help. What else has controls over the objects?
I just updated the link:
http://www.funfury.de/up/src.rar
It's even less code now, questCarMain does only the initialization. The objectManager just adds it to the stage and the randomObject itself basically just moves, at least that's what I'm thinking.
You got some weird behaivour for youself 😀
---
As to the flickering, this was because the image consists of 2 images and it has to be stopped at the first. That's what randomObject does. It picks one random object out of all frames and stops there. This is the shrinking you saw 🙂
---
It's even tinier now:
http://www.funfury.de/up/src2.rar
I just checked the swc and left only the crystal, its nothing more than a movieclip with 2 frames and 2 pictures. What I'm wondering: if it is compiled with 30 fps, it's a horrible movement, but I do remember 30 fps as very smooth,.....
---
There isn't much code left right now, has to be some veeery basic problem. http://www.funfury.de/up/src.rar
I'd like to take a look at the graphics, I really doubt it's something in the code because the same thing happens with a simple enterFrame event with the crystal graphics.
I noticed there's some .swc file there, first time I see this kind of file! I guess it's flex? Anyway, I can't open it with my FlashCS4.
I wonder if something inside the .swc file is causing all this trouble.
http://www.funfury.de/up/crystal.fla
It's nothing spectacular in there. SWC is a format which you can use to save symbols and code in a library, just like a .dll
In your export settings just tick "export swc" under the flash settings and you'll get the same swc as the included crystal.swc
But actually I'm starting to think the stuttering is normal to flash or my graphic drivers and those on many other PCs got corrupted^^ Maybe Apple wrote some virus, cause now I think many swfs are stuttering.
Same page here 😉

Just tried running a bunch of codes in a bunch of new flash files and encountered the same stuttering. Never noticed that before.

I did encounter flash movies stuttering heavily when I had lots of flash files working at the same time, or before. For example on youtube.
Restarting my computer always solved the problem. Unfortunately I can't restart mine right now, but maybe you could try restarting yours?

Bottom line is - it's not us, it's flash 😀
I restarted mine the last few days, noch change sadly 😉
http://www.funfury.de/up/questCarMain.swf - Tell me your opinion, the stuttering is veery visible, is it not?
I'm not very happy with the animation, but I do think that I've tryed everything possible,...
---
PS: I already downloaded FP9 debugger just to see if adobe screwed something up in the meantime...
---
Mhh, the stuttering is way better now... maybe some of the many very little changes did help something....
I can barely see any stuttering, unless I really focus on stuff in the background.
I doubt players will be focusing on something other than the car and the timer.

By the way, I closed a lot of tabs in my browser and noticed the stuttering in all the test files have reduced. Might be a coincidence though.
Thanks very much for your help, I'll check tomorrow if the stuttering comes back at daytime 😀
If I can help you with something, just pm me 🙂
---
I did change many things, for example I openend the properties of every picture which was in the swc and allow smoothing, change the timer to enter_frame and did many small changes, maybe some of these changes did something good,....
---
Some more fun: when I compile the swf, the swf shows up in the explorer and the flash palyer pops up. If I close the player and start the swf manually, the stones aren't there 😀 But they do show up in the browser, so I couldn't care less.
No problem.
Good luck with your current and future projects 😉
I loved the car system.

Countless hours of my life have been spent attempting to learn box2d via trying to build nice car dynamics (suspension especially) and to this day i fail. I dont even have a game in mind, i just like the movement.

Original thread: https://box2d.org/forum/viewtopic.php?t=5139