X and Y Positioning in Flash
Review
The main difference between the Standard and Flash coordinate systems is the Y values are inverted in the Flash system. In Flash, Y values start at 0 at the top of the Stage, and become positive as you move DOWN the stage.
Flash calculates the (x,y) position of a shape or object based on it's top-left corner.
What We Did
- Reviewed Cartesian (Standard) and Flash Coordinate Systems
- Created a MovieClip called ball_mc
- Created a new Flash file called ball
Self-Check for Understanding
What are the probable (x,y) values in the following example:
- (32,200)
- (-10,-10)
- (20,40)
The answer is here --> (20,40) <--