ActionScript 3.0 Draw Speed Test: Drawing Primitives Vs. Placing MovieClips
r3dux | February 13, 2010I got a comment about ActionScript 3 the other day which asked a simple and fair question (paraphrased as):
If you’re just using simple shapes like circles, is it faster to draw them to the stage with drawCircle, or to use MovieClips/Sprites to draw them?
Did I know the answer? Um, no… So I knocked up a quick bit of flash to find out. Before you’re given the answer, why not have a quick ponder about what you think will happen? I’ve got to admit, when I did this I got completely the wrong result! Ha! Shows what I know about anything…
Brief analysis plus source-code n’ file after the jump…









