/ Published in: ActionScript 3
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
image.height = stage.stageHeight; image.width = stage.stageWidth; image.scaleX = image.scaleY = Math.max( image.scaleX, image.scaleY );