【Adobe AIR学习笔记】打包、签名、运行AIR应用程序

来源:互联网 发布:sql2005数据库修复 编辑:程序博客网 时间:2024/06/10 22:46

You are now ready to package the "Hello World" application into an AIR file for distribution. An AIR file is an archive file that contains the application files, which are all of the files contained in the project’s bin folder. In this simple example, those files are the SWF and application XML files. You distribute the AIR package to users who then use it to install the application. A required step in this process is to digitally sign it.

  1. Ensure that the application has no compilation errors and runs as expected.

  2. Select Project > Export Release Build.

  3. Check that the AIRHelloWorld project and AIRHelloWorld.mxml application are listed for project and application.

  4. Select Export as signed AIR package option. Then click Next.

  5. If you have an existing digital certificate, click Browse to locate and select it.

  6. If you must create a new self-signed digital certificate, select Create.

  7. Enter the required information and click OK.

  8. Click Finish to generate the AIR package, which is named AIRHelloWorld.air.

You can now install and run the application from the Project Navigator in Flash Builder or from the file system by double-clicking the AIR file.