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.