如何判断的Flash AS3在桌面或移动浏览器中运行 [英] How to tell if Flash AS3 is running in desktop or mobile browser
本文介绍了如何判断的Flash AS3在桌面或移动浏览器中运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我开发一个完整的Flash网站(播放器10.2)。
I am developing a full-Flash site (Player 10.2).
我需要知道在运行时,如果code是一个台式机/鼠标电脑或移动/触摸设备上运行,这样我就可以区分的投入机制。
I need to know at runtime if code is running on a desktop/mouse computer or a mobile/touch device, so that I can differentiate the input mechanism.
这是用任何可能的手段?
Is this by any means possible?
推荐答案
如何的<一个href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/Capabilities.html#version"相对=nofollow> flash.system.Capabilities.version 看?
这篇关于如何判断的Flash AS3在桌面或移动浏览器中运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文