Posted By

weavermedia on 05/26/11


Tagged

as3


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

weavermedia


AS3 check for Mac OS


 / Published in: ActionScript 3
 

I needed this for a banner I was designing which had some problems with masked filters on Mac browser Flash Player version 10.3.181.14

  1. import flash.system.Capabilities;
  2.  
  3. var macOS:Boolean;
  4.  
  5. if (Capabilities.os.toLowerCase().search("mac")>-1)
  6. {
  7. macOS = true;
  8. }

Report this snippet  

You need to login to post a comment.