Resolution: Not A Problem
Affects Version/s: Adobe Flex SDK Previous
Fix Version/s: None
Component/s: Flash Integration
Environment:Affected OS(s): Windows
Affected OS(s): Windows XP
Browser: Internet Explorer 7.x
Language Found: English
Steps to reproduce bug:
1. I coded an actionScript class that loads the air.swf from the adobe site (http://airdownload.adobe.com/air/browserapi/air.swf), checks if AIR is installed, checks the version of the AIR application and launches the application
Code is attached.
2. I included the as file in a flash file and embedded it in a web page
3. When clicking the embedded swf file, the getStatus method is called
Results: Usually the getStatus method returns "installed" and the AIR application is invoked. But every so often the getStatus method returns "available" and it continues to do so until I execute the AIR installation file that informs me: AIR is already installed. Only after that the swf file resumes the expected behavior.
Expected results: getStatus method returns "installed" and the AIR application is invoked all the time