让FlexBuilder3.2在Flash Player 10下调试的设置

FlexBuilder3.2默认是用Flash9来调试的,但随着Flash10的发布,很多的浏览器都已经升级到Flash10,但FlexBuilder3.2还没有及时更新,导致每次调试Flex/Air项目都弹出提示框说定位不到Flash9的调试器,很是不爽!不过现在可以通过以下步骤来让FlexBuilder3.2在Flash10下调试和运行:

第一部分:
1.选中一个已存在的Flex或Air项目,右键->Properties,打开Properties对话框


2.定位到Flex Build Path->Library Path,将原来在Flex3.2下的playerglobal.swc移除,然后Add SWC,添加<%flexbuilder3%>/sdks/3.2.0/frameworks/libs/player/10/playerglobal.swc(注:<%flexbuilder3%>为flexbuilder3的安装目录)


3.点击OK,让FlexBuilder3.2进行重新编译

第二部分:
4.重复步骤1
5.定位到Flex Complier,将Require Flash Player version设置为10.0.10
(原:9.0.124)


6.点击OK,让FlexBuilder3.2进行重新编译

通过上面的设置就可以让FlexBuilder3.2在Flash10下调试和运行,大家可以试试!

注:该设置来源于如下视频链接
http://www.brooksandrus.com/blog ... ayer-10-in-flex-32/
(http://flash.9ria.com/thread-19184-1-1.html)


注意你要下载最新版本的 flashplayer debug 版本。否则会出现:

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


最新flashplayer debug 下载地址:

http://www.adobe.com/support/flashplayer/downloads.html


flashplayer10最新版Install flashplayer10r12_36_winax debug版有助于调试。

你可能感兴趣的:(properties,Flex,Flash,application,debugging,flexbuilder)