Re: [問題] flash 全螢幕 打字
測試一下AIR2.6可以在全螢幕下打中文
Win7 新注音2010
Flash Builder 4.5
package {
import flash.desktop.NativeApplication;
import flash.display.Sprite;
import flash.display.StageDisplayState;
import flash.system.Capabilities;
import flash.text.TextField;
import flash.text.TextFieldType;
[SWF(width="300", height="200")]
public class Main extends Sprite {
public function Main() {
trace(NativeApplication.nativeApplication.runtimeVersion); // 2.6.0.19120
trace(Capabilities.version); // WIN 10,2,153,1
stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;
var txt:TextField = new TextField();
txt.type = TextFieldType.INPUT;
txt.multiline = true;
txt.border = true;
txt.x = txt.y = 50;
txt.width = 200, txt.height = 100;
addChild(txt);
}
}
}
※ 引述《fake01 (ya da)》之銘言:
: 我加了stage.displayState=StageDisplayState.FULL_SCREEN_INTERACTIVE;
: 且也用air 2輸出檔案,但是還是不行在文字方塊打字,到底開如何解決呢?
: 拜託各位了。
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.165.8.104
推
10/01 18:27, , 1F
10/01 18:27, 1F
推
10/09 03:28, , 2F
10/09 03:28, 2F
→
10/09 03:29, , 3F
10/09 03:29, 3F
→
10/09 03:31, , 4F
10/09 03:31, 4F
→
10/09 03:33, , 5F
10/09 03:33, 5F
→
10/09 03:33, , 6F
10/09 03:33, 6F
推
10/09 03:37, , 7F
10/09 03:37, 7F
→
10/09 03:37, , 8F
10/09 03:37, 8F
→
10/16 01:50, , 9F
10/16 01:50, 9F
→
10/16 01:51, , 10F
10/16 01:51, 10F
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):
Flash 近期熱門文章
PTT數位生活區 即時熱門文章