Air手工安装

来源:互联网 发布:网络词开车什么意思 编辑:程序博客网 时间:2024/04/29 22:58

原来flashcs3_air_extension_p2_en_100107.exe是安装不到Flash CS3中文版的(其实在英文版上也不好安装,我自己安装五次只有两次成功)。
 

下载后解压有以下文件夹及文件:
/ActionScript 3.0 AIR 1.0/
/AIK/
/Commands/
/External Libraries/
/Help/
/Players/
/Publish Profiles/
/StartPage/
/LastFirstRunInstall.dat
/readme.txt
 
然后按以下办法下去安装:
 
(以下内容来自压缩包中的readme.txt文件,我做以简单的翻译)
 
Beta 2 Manual installation instructions: quit Flash before you start
安装前先退出Flash.
 
1. Browse to the Flash installation directory called Adobe Flash CS3. (Default location: C:/Program Files/Adobe/Adobe Flash CS3/)
打开Flash CS3的安装文件夹,默认位置在:C:/Program Files/Adobe/Adobe Flash CS3/

2. Place the AIK folder in the Adobe Flash CS3 folder.
放置"AIK"文件夹到Flash CS3的安装文件夹

3. Place ActionScript 3.0 AIR 1.0 folder in Adobe Flash CS3/<lang>/Configuration/
放置"ActionScript 3.0 AIR 1.0"文件夹到Adobe Flash CS3/zh_cn/Configuration/下

4. Place AdobeAIR1_0.xml in the Players folder in Adobe Flash CS3/<lang>/Configuration/Players/
把"Players/AdobeAIR1_0.xml"文件放置到Adobe Flash CS3/zh_cn/Configuration/Players/文件夹下

5. Place all files in the External Libraries in Adobe Flash CS3/<lang>/Configuration/External Libraries/
把"External Libraries"下的所有文件复制到Adobe Flash CS3/zh_cn/Configuration/External Libraries/文件夹下

6. Replace LastFirstRunInstall.dat in Adobe Flash CS3/<lang>/First Run/
把"LastFirstRunInstall.dat"复制到Adobe Flash CS3/zh_cn/First Run/文件下替换原有文件

7. Place AdobeAIR1_0.xml in the Publish Profiles folder in Adobe Flash CS3/<lang>/First Run/Publish Profiles/
把"Publish Profiles/AdobeAIR1_0.xml"文件放置到Adobe Flash CS3/zh_cn/First Run/Publish Profiles/文件夹下

8. Place all files in Commands folder in Adobe Flash CS3/<lang>/First Run/Commands/
把Commands文件夹中的所有文件复制到Adobe Flash CS3/zh_cn/First Run/Commands/文件夹下.
 
Welcome Screen: if you update the files, your welcome screen will be in English since I don't have the localized config.xml file. If you decide to do this, it's probably better to replace the files in your user configuration so that you still have the localized original version in First Run folder in case you want to get back to the original welcome screen.
欢迎屏幕的安装:
(注意:如果你做了以上安装,还是不能创建AIR应用的,必须替换Flash启动后的欢迎界面。)
如果你更新了config.xml文件,你的欢迎屏幕将变成英文版。如果你确定继续,那么最好在更新前将旧的config.xml文件进行备份,以便你想恢复回来时用。
(其实不要直接覆盖,添加一行内容就可以了,欢迎屏幕还是中文的,*方法见本文末尾。)
 
1. Browse to user configuration. (Default location: Win XP: C:/Document and Settings/<username>/Local Settings/Application Data/Adobe/Flash CS3/<lang>/Configuration/, Win Vista: C:/Users/<username>/AppData/Local/Adobe/Flash CS3/<lang>/Configuration/)
打开当前Windows用户的配置信息文件夹,Win Xp系统默认在:C:/Document and Settings/<username>/Local Settings/Application Data/Adobe/Flash CS3/<lang>/Configuration/,Win Vista系统默认在:C:/Users/<username>/AppData/Local/Adobe/Flash CS3/<lang>/Configuration/

2. Replace startpage.swf in StartPage folder in C:/Document and Settings/<username>/Local Settings/Application Data/Adobe/Flash CS3/<lang>/Configuration/StartPage
把"StartPage/StartPage.swf"文件复制到:C:/Document and Settings/<username>/Local Settings/Application Data/Adobe/Flash CS3/zh_cn/Configuration/StartPage文件夹并替换原有文件

3. Replace config.xml in StartPage/Resources folder in C:/Document and Settings/<username>/Local Settings/Application Data/Adobe/Flash CS3/<lang>/Configuration/StartPage/resources
把"StartPage/Resources/config.xml"文件复制到C:/Document and Settings/<username>/Local Settings/Application Data/Adobe/Flash CS3/zh_cn/Configuration/StartPage/resources文件夹并替换原有文件
(如果你介意欢迎屏幕变成英文的,那么就不要做此步,然后参照本文后边的*方法保持中文界面。)

Help:
帮助的安装:
1. Browse to help location. (Default location for XP: C:/Document and Settings/All Users/Application Data/Adobe/Flash CS3/<lang>/Configuration/HelpPanel/Help/, Vista: C:/Program Data/Adobe/Flash CS3/<lang>/Configuration/HelpPanel/Help)
打开帮助文件所在文件夹,Win XP默认在:C:/Document and Settings/All Users/Application Data/Adobe/Flash CS3/<lang>/Configuration/HelpPanel/Help/,Vista默认在:C:/Program Data/Adobe/Flash CS3/<lang>/Configuration/HelpPanel/Help

2. Place AdobeAIR in Help folder in C:/Document and Settings/All Users/Application Data/Adobe/Flash CS3/<lang>/Configuration/HelpPanel/Help/.
把"Help/AdobeAIR"文件夹放置到上边所说的帮助文件夹中(注意这次是在"All Users"文件夹啦.).
 
Launch Flash and you should be able to use AIR update Beta 2 for Flash CS3.
完成以上步骤后,现在启动Flash CS#,你就能开发AIR应用啦。

---------------------------------------------------------------------------------


*对于欢迎界面会变成英文版的问题,可以这样解决:
 
将C:/Documents and Settings/<username>/Local Settings/Application Data/Adobe/Flash CS3/zh_cn/Configuration/StartPage/resources/config.xml文件不要直接覆盖,而是打开此文件,加入下边红色粗体的一行在相应位置:
 
<!-- column 2: new -->
<createnew>新建</createnew>
<air>Flash File (Adobe AIR)</air>
 
其它部分不变。




---------------------------------------------------------------------------------------------------------------------------------------




手头上的是Windows XP,所以下载了Windows版本。

解压后打开文件中的readme.txt,安装方法都写在里面了,下面的文字也就是安装说明简单的翻译,呵呵

安装前请退出Flash CS3程序。确保是最新的Flash Player。将Flash CS3升级到最新版本。
然后开始COPY和替换文件:

1.打开Flash安装文件夹Adobe Flash CS3(默认地址:C:/Program Files/Adobe/Adobe Flash CS3/)
2.复制AIK文件夹到Adobe Flash CS3文件夹
3.复制ActionScript 3.0 AIR 1.0文件夹到Adobe Flash CS3/zh_cn/Configuration/
4.复制Players文件夹下AdobeAIR1_0.xml到Adobe Flash CS3/zh_cn/Configuration/Players/
5.复制External Libraries文件夹内所有文件到Adobe Flash CS3/zh_cn/Configuration/External Libraries/
6.复制Components文件夹下AIR ServiceMonitor文件夹到Adobe Flash CS3/Confinguraton/Components/
7.复制LastFirstRunInstall.dat到Adobe Flash CS3/zh_cn/First Run/,替换掉原文件
8.复制Publish Profiles文件下的AdobeAIR1_0.xml到Adobe Flash CS3/zh_cn/First Run/Publish Profiles/
9.复制Commands文件夹下的所有文件到Adobe Flash CS3/zh_cn/First Run/Commands/
10.复制CustomActions文件夹到Adobe Flash CS3/First Run/ActionsPanel/ActionScript_3/

原创粉丝点击