2013-02-08 99 views
0

由於服務器問題(我不是後端開發人員,也不能以任何方式訪問服務器),我需要編譯爲Flash的偶數版本。我可以發佈到9,10或11,但具有非常小的尺寸限制,並希望使用從11開始的改進的壓縮。我還使用PerspectiveProjection來修復出現的其他3d旋轉問題。如何使用Adobe Flash CS6編譯爲Flash 11(甚至是版本)?

我只能使用Flash CS6(或命令行)而不是Flex Builder或任何其他程序。 CS6有一個下拉菜單,其中只有(與AS3兼容)選項爲9,10.3,11.1,11.2,11.3和11.4。

有沒有什麼辦法可以編譯成Flash Player 11.0?

+0

可能重複:http://stackoverflow.com/questions/7693720/how-to-compile-for-flash-11-with-cs4 – David 2013-02-08 16:14:15

+0

這一個允許(或接收)答案除了任何Creative Suite以外,還處理CS4。它也不要求它是Flash Player的一個偶數版本。 這一個需要(並收到)的答案適用於CS6和Flash Player 11.0,而不是Flash Player 11. – 2013-02-08 16:54:28

回答

5

1:點擊這個網站:http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html

2:下載的playerglobal.swc檔案的Flash Player 11.0(329 KB)

3:複製到該路徑

的Mac:/應用/ Adobe Flash CS6/Common/Configuration/ActionScript 3.0/FP11.0/playerglobal.swc

enter image description here

WIN:/通用/配置/ ActionScript 3.0中/ FP11.0/

4:做一個FlashPlayer11_0.xml

的Mac:/應用/的Adobe Flash CS6 /通用/配置/播放/

enter image description here

WIN:/通用/配置/播放/

5:複製粘貼&以下XML。

<?xml version="1.0" encoding="UTF-8"?> 
<players> 
    <player id="FlashPlayer11.0" version="13" asversion="3"> 
    <name>Flash Player 11.0</name> 
    <path builtin="true"/> 
    <path menuSortCategory="10"/> 
    <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/FP11.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> 

6:重新啓動Flash CS6。和快樂編碼! :)

enter image description here

+0

謝謝!這工作。但是,請注意一點。我不得不將文件重命名爲playerglobal.swc而不是playerglobal11_0.swc。 – 2013-02-08 16:40:25