I want that first windows appears in the center of the screen. Anyone can say, look at screen size and calculate it, but I don't know what it be the size of the screen when app will run, it depends of computer.
Thank in advance !
var screenBounds:Rectangle = Screen.mainScreen.bounds;
This will give you information about the screen. You can access the height/width using screenBounds.height and screenBounds.width.
Retrieving data ...