1

I have 4 projects:

1.- AIR desktop application project (modular app) (app.swf 170kb) 2.- Controls/Components library project (1.2mb) 3.- Core library project (150kb) 4.- Styles/Skins/Assets library project (3.5mb)

2, 3, 4 are linked as RSL in 1 3, 4 are linked as External in 2 4 are linked as External in 3

I want to update only 1, 2, 3 and/or 4... For example, I want to update/upgrade only 1 and 2.

I tried with ApplicationUpdaterUI, building only files I needed, but this replace all folder content and paste the files archived on package.

I try packaging all files, manually extract the files from package and paste them (only files updated) in application folder, but doesn't work... If I paste the 4 swfs, application run perfectly...

I understand that Flex creates a placeholder for RSL libraries, but I think also that registers something like the CLSID of rsl swfs in app.swf.

I tried with ANT also... same results...

What are my options? Using Air Desktop Application...

4

1 回答 1

0

我找到了一个解决方案:

2、3 和 4 链接“外部”。

在 AIR 应用程序中,我使用库、模块和资产版本构建了用于检查远程配置 (config.xml) 文件的所有功能。应用程序下载并保存所有 swf 文件需要更新。之后,应用程序使用 loader.loadBytes() 加载所有文件。默认框架链接是 RSL。

只有 AIR 应用程序必须使用 ApplicationUpdaterUI 进行更新,但库、模块和资产(将不断更新)会按需更新。

对不起我的英语不好。

我希望这对某人有所帮助。

于 2013-05-14T21:15:10.670 回答