Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get Current Operating System In Adobe Air

I'm making an App using Adobe Flex/Air. I was wondering if there is any way to get the Operating System the Air app is running on?

like image 544
Joel Avatar asked Jun 30 '09 07:06

Joel


People also ask

How do I update Adobe AIR on Windows 10?

Users can install or update an AIR application by double-clicking an AIR file on their computer or from the browser (using the seamless install feature).

Is Adobe AIR still supported?

Is Adobe AIR Still Supported? As of December 31, 2020, Adobe no longer supports AIR. However, to help companies and developers struggling to transition to newer technologies, the company has made a deal with the Harman Company, a subsidiary of Samsung.


1 Answers

Use Capabilities class:

import flash.system.Capabilities;

trace(Capabilities.os);
like image 113
tefozi Avatar answered Oct 04 '22 01:10

tefozi