View Full Version : Detecting Mac or PC
dethbanger
01-15-2003, 05:18 PM
I made a presentation in flash, and i want to make an autorun cd, that launchs the proyector for mac, or pc, depending on the operative sistem running.
Is there any script that detects the operative sistem, and lanches the according proyector?
thanks!
welcome to as.org
anyway:
trace(System.capabilities["os"]);
//output: 'Windows 2000' -- on my box
if this doesn't do it for ya, then try:
trace(getVersion());
//output: 'WIN x,x,xx,x' on my box
macs would output 'MAC ...'
sorry, just reread your question... what i told you wont work for what you want....
try this thread:
http://www.actionscripts.org/forums/showthread.php3?s=&threadid=14844&highlight=autorun
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.