Memory Drive

반응형

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 ) );

반응형