转载:https://blog.zengrong.net/post/1568.html

让旧版本的 Flash IDE 支持更新的 Flash Player/AIR 功能

今天在论坛上看到一篇文章:H264VideoStreamSettings无法在cs4里面使用吗?,并做了回复。记录在这里,希望对更多的人有帮助。

H264VideoStreamSettings是Flash Player 11才开始支持的功能,但目前Aodbe发布的最新版的Flash CS5.5,都不支持将Flash Player 11作为目标播放器版本发布。这个问题很容易解决,但涉及到的东西却比较多,我在这里将一一讲解。

首先来个Setp by Step,这里以Flash Player CS5.5为例,但Flash CS4也没有问题(Flash CS3我就不确定了):

第一步 首先下载最新的 playerglobal.swc(基于Flash Player11):

第二步 将其复制到 FlashCS5.5\CommonConfiguration\ActionScript 3.0\FP11.1 ,没有这个文件夹请自行建立;

第三步 复制 FlashCS5.5\CommonConfiguration\Players\FlashPlayer10_1.xml 为 `FlashPlayer11_1.xml;

第四步 用 NotePad++/EditPlus/UltraEdit (但不要用windows Notepad,避免换行符问题)之类的软件打开 `FlashPlayer11_1.xml ,修改以下内容:

第3行修改为:

1
<player id="FlashPlayer11.1" version="14" asversion="3">

第4行修改为:

1
<name>Flash Player 11.1</name>

第8行修改为:

1
<playerDefinitionPath as2="$(UserConfig)/Classes/FP10;$(UserConfig)/Classes/FP9;$(UserConfig)/Classes/FP8;$(UserConfig)/Classes/FP7" as3="$(AppConfig)/ActionScript 3.0/FP11_1/playerglobal.swc" />

这是我修改好的,可以直接用:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?xml version="1.0" encoding="UTF-8"?>
<players>
<player id="FlashPlayer11.1" version="14" asversion="3">
<name>Flash Player 11.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/FP11_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>

第五步 重新启动Flash CS5.5, 就可以看到新的发布设置生效了,在新建Fla文件的时候选择这个发布设置,就可以支持Flash Player 11.1新增的功能。如下图:

**第六步 为了能够播放和调试新生成的Flash Player 11文件,还需要更新DebugFlashPlayer,在 这里 下载。注意必须下载Debug版本:Windows Flash Player 11.1 Projector content debugger。如果不知道这些版本之间的区别,可以看看我写的这篇文章:有史以来关于Flash Player的最详细说明 。

第七步 下载了上面的文件后,将其复制到 FlashCS5.5\Adobe Flash CS5.5\Players\Debug,替换原来的FlashPlayerDebugger.exe。

下面是原理讲解(Flash IDE代指Flash CS4/CS5/CS5.5):

在Flash 8时代,编译器和Flash Player是完全同步的。因为那时,只有Flash IDE可以生成swf文件。而Flex问世,以及MacroMedia被Adobe收购以后,Flash的发展就变得多样了,FlashIDE和Flex都可以生成swf文件,Flash Player的发展也更加独立。现在的情况,Flash CS,Flash Builder,Flex SDK,Flash Player的发布已经完全不同步了。尤其是当Adobe将Flex SDK交给Apache发展后,SDK的更新速度估计会更快。Adobe自己又会紧紧将Flash Player攥在手里,保持自己的步调来更新。

Flex SDK/Flash IDE可以和不同版本的Flash Player相配。即使是使用Flex SDK 3.6/Flash CS4,同样也可以开发出Flash Player 11.1支持的swf程序。通过使用不同版本Flash Player提供的playerglobal.swc文件,就可以让旧的Flex SDK/Flash IDE兼容新的Flash Player提供的功能,方法就是修改编译属性中的-swf-version和 -target-player编译属性。当然,也可以让新的Flex SDK兼容旧的Flash Player功能。

以上这段来自我写的这篇文章:Flex编译器参数中-swf-version与-target-player之关系,有修改。

2015-04-03 更新

Flash IDE 整合了 AIR SDK 之后,我们也经常需要将最新的 AIR SDK 更新到 Flash IDE 中。

在 Flash Professional CS6 中,参考这个官方帮助页面即可: Flash Professional Help / Overlay AIR 。

在 Flash CC 中,则已经在 Help 菜单中提供了 Manage Adobe AIR SDK… 命令可供配置。

让旧版本的 Flash IDE 支持更新的 Flash Player/AIR 功能的更多相关文章

  1. Bootstrap 4/3 页面基础模板 与 兼容旧版本浏览器

    Bootstrap 3 与 4 差别很大,目录文件结构.所引入的内容也不同,这里说说一下 Bootstrap 引入的文件.网页模板和兼容性问题.本网站刚刚搭建好,正好发一下文章原来测试网站. Boot ...

  2. 长期支持版本(即不自动更新版本) - Flash Player 18.0.0.268

    无意中发现,适合不喜欢折腾的朋友. 下载链接:(官方:http://www.adobe.com/cn/products/flashplayer/distribution3.html) (分流:http ...

  3. 企业IT管理员IE11升级指南【2】—— Internet Explorer 11 对Adobe Flash的支持

    企业IT管理员IE11升级指南 系列: [1]—— Internet Explorer 11增强保护模式 (EPM) 介绍 [2]—— Internet Explorer 11 对Adobe Flas ...

  4. Linux下安装Firefox以及更新Adobe flash

    一直无法舍弃Firefox浏览器,老是提示更新,但包管理器中的版本又不是最新版,只能自己手动安装了(一下是在Ubuntu14.04环境中进行的). 1.去官网下载最新版本 2.进入下载目录,解压文件 ...

  5. ActiveReports 6:如何升级旧版本的项目

    如果现在的项目使用的是ActiveReports for .NET 3.0,那么有两种升级方式: 一是使用ActiveReports 6.0附带的转换工具(参见下面"升级ActiveRepo ...

  6. 印象笔记 MAC安装使用旧版本

    印象笔记终于支持markdown了,赞! 第一个beta版用起来非常不错.提示更新安装新版本后保存markdown一直提示 "Note content is invalid.",无 ...

  7. [转帖]InfluxDB 1.2.0安装及新旧版本的注意事项

    InfluxDB 1.2.0安装及新旧版本的注意事项 http://haibing.org/245?zwlqby=npztq3 挺好的文章 很好的解决了 上一个文档里面 关于 web admin 的问 ...

  8. Flash 终将谢幕:微软将于年底( 2020 年 )停止对 Flash 的支持

    近日,微软宣布将于今年 12 月终止对 Adobe Flash Player 的支持,届时,微软旗下所有浏览器都将无法使用 Flash,Adobe 也不会在今年 12 月后发布安全更新.早在 2017 ...

  9. Flash 终将谢幕:微软将于年底停止对 Flash 的支持

    近日,微软宣布将于今年 12 月终止对 Adobe Flash Player 的支持,届时,微软旗下所有浏览器都将无法使用 Flash,Adobe 也不会在今年 12 月后发布安全更新.早在 2017 ...

随机推荐

  1. PipelineDB 1.0.0 发布——使用标准的pg 扩展开发模型

    PipelineDB 1.0.0 发布已经发布了,现在的已经成为一个标准的pg 扩展了,语法也有变动 create continous view 修改为了view,create streaem 修改为 ...

  2. oracle mysql sql serve where in 语句的不同

    类似这样的语句在mysql  oracle 是可以执行成功的, select * from classfirst where (classid ,classname) not in (select c ...

  3. NOSQL之MEMCACHE

    Memcached是一个自由开源的,高性能,分布式内存对象缓存系统.Memcached是一个自由开源的,高性能,分布式内存对象缓存系统.Memcached是一种基于内存的key-value存储,用来存 ...

  4. linux yum安装httpd后,启动service httpd start 报错解决方案

    解决方案:

  5. ZedGraph控件的使用

    http://blog.chinaunix.net/uid-20776117-id-1847015.html 在我们编写程序的时候,有时候是要做一些统计的,为了达到一目了然的效果,饼状图,曲线图,柱状 ...

  6. Angular 4 路由介绍

    Angular 4 路由 1. 创建工程 ng new router --routing 2. 创建home和product组件 ng g component home ng g component ...

  7. 无需公众号PHP微信登录微信授权微信第三方登录微信开发php开发

    无论是个人还是公司,无需申请公众号,无需申请微信开放平台,即可实现手机网站和PC网站的微 信登录!!! 正常的微信登录是这样的: 1.手机版网站做微信登录,需要申请一个认证公众号,认证不仅需要公司营 ...

  8. POJ 2139 Six Degrees of Cowvin Bacon (floyd)

    Six Degrees of Cowvin Bacon Time Limit : 2000/1000ms (Java/Other)   Memory Limit : 131072/65536K (Ja ...

  9. 杂项:flex (adobe flex)

    ylbtech-杂项:Flex (Adobe Flex) Flex指Adobe Flex,基于其专有的Macromedia Flash平台,它是涵盖了支持RIA(Rich Internet Appli ...

  10. COMMON INTERVIEW QUESTIONS

    1. What do you see yourself doing five years from now? 2. What motivates you to put forth your great ...