2012-07-03 66 views
10

我目前正在为三星智能电视开发一个项目。在Flash Professional CS6中为Flash 10.1编译

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

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

回答

22

让我先说这个,说明我没有CS6;不过,我认为它会和之前版本中的玩家相同。

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

  2. 将在Flash Pro中CS6一个FP10.1文件夹中的playerglobal.swc在安装路径/通用/配置/ ActionScript 3.0中/ FP10.1 /的playerglobal.swc

    例如:/应用/的Adobe Flash CS6 /通用/配置/ ActionScript 3.0中/ FP10.1

  3. 创建一个发布目标XML加Flash播放器10 Flash Pro的“发布设置”对话框中的.1选项下拉菜单。这些在/通用/配置/玩家发现/

    例如:/应用/的Adobe Flash CS5.5 /通用/配置/播放/ 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> 
    
+0

谢谢,我会尝试这个,当我得到的机会! – Serge

+0

@Jason Sturges - 人们一直在对你的答案提出修改建议,你能否快速审视并决定你是否对它的原始形式感到满意? –

+0

@ChrisStratton指示此解决方案在Creative Cloud中继续工作将作为评论很好;否则,不需要添加.app扩展名。谢谢。 –

4

上述贾森的回答是完美的 - 只是一个小的变化 - 确保线路

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

的路径,你已经安装了playerglobal匹配.swc - 例如Jason的例子中的FP10.1,不是FP10

0

就不得不添加的playerglobal.swc FP10.2在Mac上的Flash CC。

需要使用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应用程序,然后选择“显示包内容。“

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

/应用/的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文件夹的位置:

/应用/的Adobe Flash CC /的Adobe Flash CC.app/Contents/Common/Configuration/ActionScript 3.0/FP10.2

请确保您有其实改名为SWC文件是playerglobal而不是playerglobal10_2。现在

,如果你重新启动闪存你要善于在10.2

3

出口为CC的AdobeFlash 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>