Adobe air browser api swf download






















If the application is already installed, the installer gives the user the choice of opening the existing version of the application or updating to the version in the downloaded AIR file.

On Mac OS, to install an updated version of an application, the user needs adequate system privileges to install to the application directory. On Windows and Linux, a user needs administrative privileges. An application can also install a new version via ActionScript or JavaScript.

For more information, see Updating AIR applications. Once the AIR application is installed, a user simply double-clicks the application icon to run it, just like any other desktop application. On Mac OS, double-click the application in the folder in which it was installed. These features are described in the following section. You can modify the provided sample badge or create your own badge web application that uses the online air.

Any AIR application can be installed through a web page badge. IT administrators can do the following:. It can check to see if a specific AIR application is installed. See Checking from a web page if an AIR application is installed. It can check to see if the runtime is installed. See Checking if the runtime is installed.

See Launching an installed AIR application from the browser. You can customize the badge. The badge. You must use an absolute, not relative, URL. The color of the download button specified as a hex value, such as FFCC The color of the text message displayed below the button when the runtime is not installed specified as a hex value, such as FFCC The minimum size of the badge. You can also edit and recompile the badge.

For details, see Modify the badge. Once you have added the seamless install link to a page, the user can install the AIR application by clicking the link in the SWF file. If you have not installed the runtime, a dialog box is displayed asking whether you would like to install it. Install the runtime see Adobe AIR installation , and then proceed with the next step.

The source Flash file used to compile the badge. The air. This class includes the following public methods, which the badge. M6" required by the application to be installed. For details, see Installing an AIR application from the browser. You must use an absolute, not relative, URL path.

The application is launched upon installation if the allowBrowserInvocation element is set to true in the application descriptor file. For more information on the application descriptor file, see AIR application descriptor files. Consider the security implications of data that you pass to the application. For details, see Launching an installed AIR application from the browser. If the application starts automatically upon installation, you can use LocalConnection communication to have the installed application contact the badge.

You may also call the getApplicationVersion method of the air. You can call this method either before the application installation process or after the installation is started. For details, see Checking from a web page if an AIR application is installed.

To reference the air. The following code shows an example of loading the air. Once the air. A SWF file can check if the runtime is installed by calling the getStatus method in the air. For details, see Loading the air. The getStatus method returns one of the following string values, based on the status of the runtime on the computer:.

The getStatus method throws an error if the required version of Flash Player version 9 update 3 or later on Windows and Mac OS, or version 10 on Linux is not installed in the browser. The application ID for the application. Viewed 3k times. Add a comment. Active Oldest Votes. Sign up or log in Sign up using Google.

Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Who owns this outage?



0コメント

  • 1000 / 1000