X and Y Positioning in Flash


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

  1. Reviewed Cartesian (Standard) and Flash Coordinate Systems
  2. Created a MovieClip called ball_mc
  3. Created a new Flash file called ball

Self-Check for Understanding

What are the probable (x,y) values in the following example:

  1. (32,200)
  2. (-10,-10)
  3. (20,40)

Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player

The answer is here --> (20,40) <--