`

AIR的在线安装

阅读更多

方式一:应用AIR SDK中\samples目录下的badge的示例,参考资料http://ilinker.iteye.com/blog/309719

方式二:tour de flex中的badge

                1. 从http://www.adobe.com/devnet/air/articles/badge_for_air.html下载sample_badge.zip,

                2.解压后配置EmbedDemo.html文件的某些参数

                    so.addVariable("airversion", "1.0");     // version of AIR runtime required
                    so.addVariable("appname", "My Application");          // application name to display to the user
                    so.addVariable("appurl", "http://www.mysite.com/sampleApp.air"); 

                                                                                 // absolute URL (beginning with http or https) of the application ".air "  file

                     要注意的是appurl参数必须是绝对路径,以http或https开始

                3.修改完之后把整个sample_badge目录里的文件和相关的安装程序上传到对应的网上既可提供用户访问下载

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics