在Flash Professional CS6中编译Flash 10.1

时间:2012-07-03 23:04:15

标签: flash adobe samsung-smart-tv flash-10

我目前正在开发三星智能电视的项目。

如果我想在电视上使用Flash,那么该项目将需要Flash,并且规范要声明为Flash 10.1编译。但是,我正在查看Flash Professional CS6中的发布选项,我只给出了10.3的选项,而不是10,10.1或Flash 10的其他任何颠覆。(我给出了Flash 9的选项) ,8,11等等,但是)。

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

5 个答案:

答案 0 :(得分:22)

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

  1. 您需要下载10.1 playerglobal.swc,可从Adobe's Archived Flash Player versions site.下载

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

    示例:/ Applications / Adob​​e Flash CS6 / Common / Configuration / ActionScript 3.0 / FP10.1

  3. 创建发布目标XML,以在Flash Pro的“发布设置”对话框下拉列表中添加Flash Player 10.1选项。这些可在/ Common / Configuration / Players /
    中找到
    示例:/ Applications / Adob​​e 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>
    

答案 1 :(得分:4)

杰森上面的答案是完美的 - 只有一个小小的改变 - 确保这一行

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

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

答案 2 :(得分:3)

用于AdobeFlash 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>

答案 3 :(得分:0)

答案 4 :(得分: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

为了自己完成这项工作,您需要进入“应用程序/ Adob​​e Flash CC”。

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

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

/应用程序/ Adob​​e Flash CC / Adob​​e 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的新文件夹中:

/应用程序/ Adob​​e Flash CC / Adob​​e Flash CC.app/Contents/Common/Configuration/ActionScript 3.0 / FP10.2

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

现在,如果你重新启动Flash,你应该在10.2

出口