var screenArray:Array = Screen.screens;
for (var i:int = 0; i < screenArray.length; i++) {
var screen:Screen = screenArray[i] as Screen;
trace(screen.colorDepth);
trace(screen.bounds.width);
trace(screen.bounds.height);
}
From : http://www.r-stone.net/blogs/satoshi/2008/03/air.html
for (var i:int = 0; i < screenArray.length; i++) {
var screen:Screen = screenArray[i] as Screen;
trace(screen.colorDepth);
trace(screen.bounds.width);
trace(screen.bounds.height);
}
From : http://www.r-stone.net/blogs/satoshi/2008/03/air.html
'프로그래밍 언어 > FLASH, FLEX' 카테고리의 다른 글
DataGrid Data 입력 (0) | 2008.04.11 |
---|---|
parameter 처리 (0) | 2008.04.11 |
AIR - tray (0) | 2008.04.10 |
flex script source 추가 (0) | 2008.04.07 |
FLEX 에서 스크롤 (0) | 2008.04.04 |