犯了一个极低的错误,这个原因是自己造成的,是自己把
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