X좌표 = (전체 윈도우 창 WIDTH/2)-(현재윈도우창 WIDTH /2)
Y좌표 = (전체 윈도우 창 HEIGHT/2)-(현재윈도우창 HEIGHT/2)

in AIR
stage.nativeWindow.x = ( (Screen.mainScreen.bounds.width/2) - (stage.nativeWindow.width / 2 ) );
stage.nativeWindow.y = ( (Screen.mainScreen.bounds.height/2) - (stage.nativeWindow.height /2 ) );

저작자 표시
Posted by 싸구려코드

Trackback Address :: http://sarangsai.com/trackback/267 관련글 쓰기

댓글을 달아 주세요