My favorites
▼
|
Sign in
as3-bits
Miscalleneous AS3 bits
Project Home
Downloads
Wiki
Issues
Source
Checkout
Browse
Changes
Source path:
svn
/
trunk
/
bits
/
src
/
net
/
tw
/
util
/
OS.as
r131
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package net.tw.util {
import flash.system.Capabilities;
/**
* @author Quentin T - http://toki-woki.net
*/
public class OS {
public static function isWindows():Boolean {
return Capabilities.os.indexOf("Win")==0;
}
public static function isMac():Boolean {
return Capabilities.os.indexOf("Mac")==0;
}
public static function isLinux():Boolean {
return Capabilities.os.indexOf("Linux")==0;
}
public static function isIE():Boolean {
return Capabilities.playerType=='ActiveX';
}
}
}
Show details
Hide details
Change log
r71
by quentin.t on Apr 30, 2010
Diff
[No log message]
Go to:
...bits/src/net/tw/util/EmbedURL.as
/trunk/bits/src/net/tw/util/OS.as
.../bits/src/net/tw/util/air/App.as
Project members,
sign in
to write a code review
Older revisions
All revisions of this file
File info
Size: 530 bytes, 20 lines
View raw file
Powered by
Google Project Hosting