WEIRDCALCULATOR
⠺⠑⠊⠗⠙⠉⠁⠇⠉⠥⠇⠁⠞⠕⠗
Friday, September 19, 2008
Flash stage auto resize
code:
function init() {
MovieClip
._width = Stage.width;
MovieClip
._height = Stage.height;
}
init();
var stageListener:Object = new Object();
stageListener.onResize = function() {
init();
}
Stage.addListener(stageListener);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment