So I need to draw some custom shapes in Actionscript on canvas dynamically(like some spinning wheel made of lines and circles). I'm using Flash Builder.
Question 1: What would work better(faster):
- Draw on graphics of canvas, on each frame clean everything and redraw?
- Create multiple Shape objects and transform them correspondingly?
Question 2: How can I spin some Shape relatively to its center, but not relatively to its parent?(Tried playing with matrices but they work relatively to parent container). Maybe there is some push pop matrix functionality?