Flash cc 添加目标Flash Player
原文出处:http://zengrong.net/post/1568.htm
第一步 首先下载最新的 playerglobal.swc(基于Flash Player11):
http://www.adobe.com/support/flashplayer/debug_downloads.html#fp13
https://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html
第二步 将其复制到 FlashCS5.5\CommonConfiguration\ActionScript 3.0\FP18.0
,没有这个文件夹请自行建立;
D:\Program Files\Adobe\Adobe Flash cc2014\Adobe Flash CC 2014\Common\Configuration\ActionScript 3.0
第三步 复制D:\Program Files\Adobe\Adobe Flash cc2014\Adobe Flash CC 2014\Common\Configuration\Players\FlashPlayer13_0为 FlashPlayer18_0.xml;
第四步 用 NotePad++/EditPlus/UltraEdit (但不要用windows Notepad,避免换行符问题)之类的软件打开 `FlashPlayer18.xml ,修改以下内容:
<?xml version="1.0" encoding="UTF-8"?>
<players>
<player id="FlashPlayer18.0" version="28" asversion="3">
<name>Flash Player 18.0</name>
<path builtin="true"/>
<path menuSortCategory="10"/>
<path platform="WIN">Device Central/adcdl.exe</path>
<path platform="MAC">Device Central/adcdl</path>
<playerDefinitionPath as3="$(AppConfig)/ActionScript 3.0/FP18.0/playerglobal.swc" />
<feature name="multiScreenPublish" supported="true" />
<feature name="mobileAuthoringIntegration" supported="true" />
<feature name="deviceSound" supported="false"/>
<feature name="exportStreamingSound" supported="true"/>
<feature name="exportEventSound" supported="true"/>
<feature name="FSCommand2" supported="false"/>
<feature name="gradient_linearRGB" supported="true" />
<feature name="gradient_overflow" supported="true" />
<feature name="shape_strokeHint" supported="true" />
<feature name="shape_cap" supported="true" />
<feature name="shape_join" supported="true" />
<feature name="shape_mitre" supported="true" />
<feature name="shape_scale" supported="true" />
<feature name="linkage_exportForActionscript" supported="true" />
<feature name="linkage_exportForRuntimeSharing" supported="true" />
<feature name="linkage_exportInFirstFrame" supported="true" />
<feature name="linkage_importForRuntimeSharing" supported="true" />
<feature name="linkage_importAndAddToCache" supported="false" />
<feature name="publish_localPlaybackSecurity" supported="true" />
<feature name="publish_hardwareAcceleration" supported="true" />
<feature name="symbol_blendMode" supported="true" />
<feature name="actionScript_documentClass" supported="true" />
<feature name="symbol_blendMode" supported="true" />
<feature name="filters" supported="true" />
<feature name="component_binding" supported="true" />
<feature name="component_schema" supported="true" />
<feature name="screens" supported="true" />
<feature name="video" supported="true" />
<feature name="deviceVideo" supported="false"/>
<feature name="accessibility" supported="true" />
<feature name="dynamic_text_kerning" supported="true" />
<feature name="static_text_charwidth_nondeviceFont" supported="true" />
<feature name="static_text_charwidth_deviceFont" supported="true" />
<feature name="advanced_anti_alias_text" supported="true" />
<feature name="nine_slice_scaling" supported="true" />
<feature name="runtimeNumberMinMax" supported="true" />
<feature name="use8kSampleRate" supported="true" />
<feature name="useDefineFont4ForDeviceText" supported="true" />
<feature name="useDefineFont4ForEmbeddedFonts" supported="true" />
<feature name="textLayoutFramework" supported="true" />
<feature name="document_class" supported="true" />
<encodingPresets>
<preset uuid="da5cac1a-417a-4d86-b7f7-ef21010a5d7d" name="FLV - Match Source Attributes (High Quality)" ext="flv" default="true"/>
</encodingPresets>
<testmenu>
<menu name="ID_testInFlash" default="true"/>
<menu name="ID_testInDeviceCentral" />
</testmenu>
<debugmenu>
<menu name="ID_debugtInFlash" default="true"/>
<menu name="ID_debugInDeviceCentral"/>
</debugmenu>
</player>
</players>
修改Debugger Player
最后:
也是比较重要的
报VerifyError: Error #1014: 无法找到类 flash.display3D.textures::Texture
类型错误时:
http://www.cnblogs.com/metazhe/archive/2012/11/11/2765072.html
按ctrl+shift+enter 调试模式 (已经更换新版debugger player) 会更新最新的player
差不多就这些了
这时候你ctrl+enter 打印player版本
trace("flash 版本",flash.system.Capabilities.version);
有可能不是新版,但是不要紧,调试模式可以正常运行的,暂时没发现什么问题,以后继续关注更新。