犯了一個極低的錯誤,這個原因是自己造成的,是自己把
http://hi.baidu.com/phperbo/blog/item/bf77fefb29a73b1e6d22ebe4.html
老是遇見這個問題。又的時候是重啟動機子得以解決。
解決方法:
問題:
failed to connect session timed out.
ensure that
1. you compiled your flash application with debugging on.
2. you are running the debugger version of flash player.
用一個程序測試一下
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml
" layout="vertical">
<mx:Script>
<![CDATA[
import flash.system.Capabilities;
private function reportVersion():String {
if (Capabilities.isDebugger) {
return "You are running the Debugger version of the Flash Player";
} else {
return "You are running the Non-Debugger version of the Flash Player";
}
}
private function reportType():String {
return Capabilities.playerType + " (" + Capabilities.version + ")";
}
trace("123");
]]>
</mx:Script>
<mx:Label text="{reportVersion()}"/>
<mx:Label text="{reportType()}"/>
</mx:Application>
看是否按裝debug。另一個問題好像是病毒問題,我的機子上不裝殺毒軟件。這個可以排除
我以前裝的是flash player 9但是我的機子老是打補定的。 http://www.adobe.com/support/flashplayer/downloads.html
現在還不知道 flash 9和10的差別 。
下載 flash_debug 10;
install 完畢
console 輸出
123
[SWF] C:/Documents and Settings/Administrator/My Documents/Flex Builder 3/test12/bin-debug/test12.swf - 563,178 bytes after decompression
更多文章、技術交流、商務合作、聯系博主
微信掃碼或搜索:z360901061

微信掃一掃加我為好友
QQ號聯系: 360901061
您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。
【本文對您有幫助就好】元
