Ç÷¡½¬ ¾×¼Ç fscommand ¸í·ÉÀÇ Á¾·ù |
|
|
![](icon/private_name/1.gif) |
12³â Àü |
fscommand("fullscreen","true")
//fscommand("allowscale", "true")
Stage.scaleMode="noScale" //Å©±âÀ¯Áö
fscommand ¸í·ÉÀÇ Á¾·ù
fscommand("fullscreen",ture) //Ç÷¡½Ã ¹«ºñ¸¦ Àüü ȸéÀ¸·Î º¸¿©ÁÜ
fscommand("allowscale",false) //Ç®·¡½Ã Ç÷¹À̾¼ Ç÷¡½Ã ¹«ºñ ¿ø·¡ Å©±â·Î º¸¿©ÁÜ
ture ¼±ÅÃÇϸé ȸéÅ©±â¿¡ ¸ÂÃã, false ¿ø·¡¿µ¿ªÀ¸·Î
fscommand("showmenu",false) //Ç÷¡½Ã Á¤º¸¿ÜÀÇ ¸Þ´º ºÎºÐÀ» °¨Ãã
fscommand("quit") //Ç÷¡½Ã Ç÷¹À̾ Á¾·á
fscommand("exec","aaa.exe") //aaa.exe ÆÄÀÏÀ» ½ÇÇà
window project·Î ÆÛºí¸¯ Çؼ ½ÇÇàÇؾßÇÔ.
FSCommand ¸í·ÉÀº SWF ÆÄÀÏ¿¡¼ ½ÇÇàµÇ¹Ç·Î SWF·Î ¸¸µç ÈÄ ½ÇÇàÀ» ½ÃÄÑ¾ß ¸í·ÉÀÌ ½ÇÇàµÇ´Â°ÍÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.
FSCommand ¸í·ÉÀÇ Á¾·ù
- FullScreen(true) : ½ÇÇà ½ºÅ©¸°ÀÇ Å©±â¸¦ Å©°Ô ¸¸µç´Ù.
- FullScreen(false) : Ä¿Áø ½ºÅ©¸°À» ¿ø·¡ÀÇ Å©±â·Î ¸¸µç´Ù.
- AllowScale(true) : ¸¶¿ì½º Ä¿¼·Î ½ºÅ©¸° ¹× ½É¹úÀÇ Å©±âµµ ÇÔ²² Á¶ÀýÇÑ´Ù.
- AllowScale(false) : ½É¹úÀÇ Å©±â´Â Á¶ÀýÀÌ ¾ÈµÇ°í ½ºÅ©¸° ¹üÀ§¸¸ Á¶ÀýµÈ´Ù.
- ShowMenu(true) : À§ÂÊ ¸Þ´º, ¸¶¿ì½º ¿À¸¥ÂÊ ¹öÆ°ÀÇ Ç®´Ù¿î ¸Þ´º¸¦ º¸ÀδÙ.
- ShowMenu(false) : À§ÂÊ ¸Þ´º, ¸¶¿ì½º ¿À¸¥ÂÊ ¹öÆ°ÀÇ Ç®´Ù¿î ¸Þ´º¸¦ °¨Ãá´Ù.
- Trapallkeys(true) : Å°º¸µåÀÇ Å°¸¦ »ç¿ëÇÒ ¼ö ¾ø°Ô µÈ´Ù.
- Trapallkeys(false) : Å°º¸µåÀÇ Å°¸¦ »ç¿ëÇÒ ¼ö ÀÖ´Ù.
- Exec : exe ÆÄÀÏ µî ½ÇÇà ÆÄÀÏÀ» ½ÇÇà½ÃŲ´Ù.
- Quit : ½ÇÇà ½ºÅ©¸°À» ´Ý´Â´Ù. |
|
̵̧ : 574 |
̵̧
¸ñ·Ï
|
|