犯了一個(gè)極低的錯(cuò)誤,這個(gè)原因是自己造成的,是自己把
http://hi.baidu.com/phperbo/blog/item/bf77fefb29a73b1e6d22ebe4.html
老是遇見這個(gè)問題。又的時(shí)候是重啟動(dòng)機(jī)子得以解決。
解決方法:
問題:
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.
用一個(gè)程序測(cè)試一下
<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。另一個(gè)問題好像是病毒問題,我的機(jī)子上不裝殺毒軟件。這個(gè)可以排除
我以前裝的是flash player 9但是我的機(jī)子老是打補(bǔ)定的。 http://www.adobe.com/support/flashplayer/downloads.html
現(xiàn)在還不知道 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
更多文章、技術(shù)交流、商務(wù)合作、聯(lián)系博主
微信掃碼或搜索:z360901061
微信掃一掃加我為好友
QQ號(hào)聯(lián)系: 360901061
您的支持是博主寫作最大的動(dòng)力,如果您喜歡我的文章,感覺我的文章對(duì)您有幫助,請(qǐng)用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點(diǎn)擊下面給點(diǎn)支持吧,站長(zhǎng)非常感激您!手機(jī)微信長(zhǎng)按不能支付解決辦法:請(qǐng)將微信支付二維碼保存到相冊(cè),切換到微信,然后點(diǎn)擊微信右上角掃一掃功能,選擇支付二維碼完成支付。
【本文對(duì)您有幫助就好】元

