-
This is a very straight forward file intended to help you with aligning elements on stage in AS 3 .0.
The download includes 2 fla’s. One with the movieclips flush to the stage edge, and the other with the movieclips offset. The offset value can be adjusted to any number, right now its set to 25 pixels.
Example: topRight.x = stage.stageWidth-25;
You can manipulate objects around the stage simply by changing the value after stageWidth and stageHeight, it can be – or a + number.
You can use this file to create your fullscreen flash movie or you can use the code and attach it to movieclips on your current flash file.
Update
If you would like the background image to scale proportionally add the following code inside the ENTER _FRAME and RESIZE functions.
backgroundMC.scaleX > backgroundMC.scaleY? backgroundMC.scaleY = backgroundMC.scaleX: backgroundMC.scaleX = backgroundMC.scaleY;



