Seamless installation of Adobe AIR

Source: Internet
Author: User

Seamless web page installation is an effective way for Adobe AIR to promote the promotion from the technical point of view. Through Adobe AIR's seamless installation technology, you can detect and install Adobe AIR runtime and Adobe AIR applications on the web page, and start and run Adobe AIR applications.

To use this technology, flash playerneeds to first install the SWF file in the airapplication repository on the webpage on the 9th, which is achieved by invoking the APIs in the adobeofficial repository and an air.swf file (http://airdownload.adobe.com/air/browserapi/air.swf.

The Adobe air sdk provides an example of source code: badge includes FLA, As, JS, and HTML files. The core code is, JS is used to embed SWF files in HTML pages.

In this example, only the functions of installing Adobe AIR runtime and Adobe AIR applications from the web are provided. Note that the appurl must be an absolute address in the parameters provided, it cannot be a relative address, which is similar to the form of "http: // href = http://domain.com/youair.air.

Another airinstallbadge.swf on the Internet provides all the seamless functions of Adobe AIR. The parameter also needs to be provided, including the adobeair Application ID parameter appid and publisher ID parameter pubid. Adobe AIR application ID, which is specified in the adobeair application description file, such as COM. adobe. example. mytest, publisher ID is generated when the adobeair program is packaged and released, generally can be installed in the adobeair application directory of the META-INF/air directory, see publisherid file, open the character string in notepad. These two parameters are used to determine whether the adobeair program is installed and have started to run Adobe
Required by the air program.

In addition, if developers want the Adobe AIR program to start running from the web, they must set the allowbrowserinvocation (run browser call) element of the Adobe AIR program description file to true.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.