Flex Failed to connect; session timed out.解决办法

最近学习Flex,调试程序时经常出现下面这个错误,而且运行很慢。

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.

网上找下,原来是要安装Flash Player 10 Debug版。 

正尝试安装的 Adobe(R) Flash(R) Player 版本不是最新的版本。请访问 http://www.adobe.com/go/getflashplayer 以获取最新、最安全的版本

解决办法:

1. 运行 uninstall_flash_player.exe 卸载已安装的版本。卸载器下载地址:http://download.macromedia.com/pub/flashplayer/current/uninstall_flash_player.exe
2. 点击开始-》运行-》输入‘regedit’,找到HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia\FlashPlayer\SafeVersions 注册表项,删除里面的内容
(不用像网上的所说删除“flash player”的项,这样做并不十分安全)
3. 安装你想安装的任何版本的Flash。

posted @ 2011-11-14 14:15  正文  阅读(1006)  评论(0编辑  收藏  举报