10

我目前正在为三星智能电视开发一个项目。

这个项目需要 Flash,如果我想在电视上使用 Flash 10.1,需要编译规范。但是,我正在查看 Flash Professional CS6 中的发布选项,我只能选择 10.3,而不是 10、10.1 或 Flash 10 的任何其他子版本。(我可以选择 Flash 9 、8、11 等等)。

有没有办法强制 CS6 为 Flash 10.1 编译?

4

5 回答 5

22

让我先声明我没有 CS6;但是,我认为这与在以前的版本中覆盖播放器相同。

  1. 您需要下载 10.1 playerglobal.swc,该文件可从Adob​​e 的存档 Flash Player 版本站点获得。

  2. 将 playerglobal.swc 放在 Flash Pro CS6 安装路径中的 FP10.1 文件夹中 /Common/Configuration/ActionScript 3.0/FP10.1/playerglobal.swc

    示例:/Applications/Adobe Flash CS6/Common/Configuration/ActionScript 3.0/FP10 .1

  3. 创建发布目标 XML 以在 Flash Pro 的发布设置对话框下拉列表中添加 Flash Player 10.1 选项。这些位于 /Common/Configuration/Players/

    示例: /Applications/Adobe Flash CS5.5/Common/Configuration/Players/FlashPlayer10_1.xml

    复制并粘贴现有的 Flash Player 10 XML 作为模板;或者,它应该是这样的:

    <?xml version="1.0" encoding="UTF-8"?>
    <players>
        <player id="FlashPlayer10" version="10" asversion="3">
            <name>Flash Player 10 & 10.1</name>
            <path builtin="true" />
            <path platform="WIN">Device Central/adcdl.exe</path>
            <path platform="MAC">Device Central/adcdl</path>
            <playerDefinitionPath
                as2="$(UserConfig)/Classes/FP10;$(UserConfig)/Classes/FP9;$(UserConfig)/Classes/FP8;$(UserConfig)/Classes/FP7"
                as3="$(AppConfig)/ActionScript 3.0/FP10/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" />
            <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>
    
于 2012-07-04T02:00:51.293 回答
4

杰森上面的回答是完美的——只有一点点改变——确保这条线

as3="$(AppConfig)/ActionScript 3.0/FP10/playerglobal.swc"

匹配您安装 playerglobal.swc 的路径 - 即 Jason 示例中的 FP10.1,而不是 FP10

于 2012-10-05T01:11:33.850 回答
3

对于 Adob​​eFlash CC xml 文件:

<?xml version="1.0" encoding="UTF-8"?>
<players>
    <player id="FlashPlayer10" version="10" asversion="3">
        <name>Flash Player 10.1</name>
        <path builtin="true" />
        <path platform="WIN">Device Central/adcdl.exe</path>
        <path platform="MAC">Device Central/adcdl</path>
        <playerDefinitionPath
            as2="$(UserConfig)/Classes/FP10;$(UserConfig)/Classes/FP9;$(UserConfig)/Classes/FP8;$(UserConfig)/Classes/FP7"
            as3="$(AppConfig)/ActionScript 3.0/FP10.1/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" />
        <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>
于 2013-10-17T15:32:34.100 回答
0

完全按照上面两个答案。有关进一步的步骤和参考,请点击以下链接,

http://blog.prevail.co.nz/2011/06/21/overlaying-air2-7-in-flash-cs5/comment-page-2/#comment-1803

http://www.yeahbutisitflash.com/?p=2949&cpage=1#comment-67603

于 2012-10-19T04:45:58.263 回答
0

只需在 Mac 上为 Flash CC 添加 playerglobal.swc FP10.2。

需要这个来对 DoubleClick for Advertisers 的 swf 版本问题进行排序,因为它不接受高于 11 的版本。播放器版本和 swf 版本不再同步。

Flash Player 9 = swf version 9
Flash Player 10 and 10.1 = swf version 10
Flash Player 10.2 = swf version 11
Flash Player 10.3 = swf version 12
Flash Player 11 = swf version 13

为了自己做这件事,您需要进入“应用程序/Adobe Flash CC”。

右键单击 Flash CC 应用程序并选择“显示包内容”。

现在您需要找到以下文件夹:

/Applications/Adobe Flash CC/Adobe Flash CC.app/Contents/Common/Configuration/Players

您需要将 FlashPlayer10_3.xml 复制为 FlashPlayer10_2.xml 并替换文件中的相关详细信息。这对我有用:

<?xml version="1.0" encoding="UTF-8"?>
<players>
  <player id="FlashPlayer10.2" version="11" asversion="3">
   <name>Flash Player 10.2</name>
        <path builtin="true" />
        <path platform="WIN">Device Central/adcdl.exe</path>
        <path platform="MAC">Device Central/adcdl</path>
        <playerDefinitionPath as2="$(UserConfig)/Classes/FP10;$(UserConfig)/Classes/FP9;$(UserConfig)/Classes/FP8;$(UserConfig)/Classes/FP7" as3="$(AppConfig)/ActionScript 3.0/FP10.2/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" />
        <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>

下一步是将您的 playerglobal.swc 添加到此处名为 FP10.2 的新文件夹中:

/Applications/Adobe Flash CC/Adobe Flash CC.app/Contents/Common/Configuration/ActionScript 3.0/FP10.2

确保您实际上已将 swc 文件重命名为 playerglobal 而不是 playerglobal10_2。

现在,如果您重新启动 Flash,您应该可以在 10.2 中导出

于 2013-08-22T09:36:45.797 回答