在 Adob​​e Air 中获取当前操作系统 [英] Get Current Operating System In Adobe Air

查看:24
本文介绍了在 Adob​​e Air 中获取当前操作系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Adob​​e Flex/Air 制作应用程序.我想知道是否有任何方法可以获得运行 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?

推荐答案

使用 能力 类:

import flash.system.Capabilities;

trace(Capabilities.os);

这篇关于在 Adob​​e Air 中获取当前操作系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆