AS3 flash.system.Capabilities Properties


/ Published in: ActionScript 3
Save to your folder(s)



Copy this code and paste it in your HTML
  1. import flash.system.Capabilities;
  2.  
  3. trace("Capabilities.avHardwareDisable: "+Capabilities.avHardwareDisable);
  4. trace("Capabilities.hasAccessibility: "+Capabilities.hasAccessibility);
  5. trace("Capabilities.hasAudio: "+Capabilities.hasAudio);
  6. trace("Capabilities.hasAudioEncoder: "+Capabilities.hasAudioEncoder);
  7. trace("Capabilities.hasEmbeddedVideo: "+Capabilities.hasEmbeddedVideo);
  8. trace("Capabilities.hasMP3: "+Capabilities.hasMP3);
  9. trace("Capabilities.hasPrinting: "+Capabilities.hasPrinting);
  10. trace("Capabilities.hasScreenBroadcast: "+Capabilities.hasScreenBroadcast);
  11. trace("Capabilities.hasScreenPlayback: "+Capabilities.hasScreenPlayback);
  12. trace("Capabilities.hasStreamingAudio: "+Capabilities.hasStreamingAudio);
  13. trace("Capabilities.hasVideoEncoder: "+Capabilities.hasVideoEncoder);
  14. trace("Capabilities.isDebugger: "+Capabilities.isDebugger);
  15. trace("Capabilities.language: "+Capabilities.language);
  16. trace("Capabilities.localFileReadDisable: "+Capabilities.localFileReadDisable);
  17. trace("Capabilities.manufacturer: "+Capabilities.manufacturer);
  18. trace("Capabilities.os: "+Capabilities.os);
  19. trace("Capabilities.pixelAspectRatio: "+Capabilities.pixelAspectRatio);
  20. trace("Capabilities.playerType: "+Capabilities.playerType);
  21. trace("Capabilities.screenColor: "+Capabilities.screenColor);
  22. trace("Capabilities.screenDPI: "+Capabilities.screenDPI);
  23. trace("Capabilities.screenResolutionX: "+Capabilities.screenResolutionX);
  24. trace("Capabilities.screenResolutionY: "+Capabilities.screenResolutionY);
  25. trace("Capabilities.serverString: "+Capabilities.serverString);
  26. trace("Capabilities.version: "+Capabilities.version);
  27.  
  28. // OUTPUT ...
  29. //Capabilities.avHardwareDisable: false
  30. //Capabilities.hasAccessibility: true
  31. //Capabilities.hasAudio: true
  32. //Capabilities.hasAudioEncoder: true
  33. //Capabilities.hasEmbeddedVideo: true
  34. //Capabilities.hasMP3: true
  35. //Capabilities.hasPrinting: true
  36. //Capabilities.hasScreenBroadcast: false
  37. //Capabilities.hasScreenPlayback: false
  38. //Capabilities.hasStreamingAudio: true
  39. //Capabilities.hasVideoEncoder: true
  40. //Capabilities.isDebugger: true
  41. //Capabilities.language: en
  42. //Capabilities.localFileReadDisable: false
  43. //Capabilities.manufacturer: Adobe Windows
  44. //Capabilities.os: Windows XP
  45. //Capabilities.pixelAspectRatio: 1
  46. //Capabilities.playerType: External
  47. //Capabilities.screenColor: color
  48. //Capabilities.screenDPI: 72
  49. //Capabilities.screenResolutionX: 1280
  50. //Capabilities.screenResolutionY: 1024
  51. //Capabilities.serverString: A=t&SA=t&SV=t&EV=t&MP3=t&AE=t&VE=t&ACC=t&PR=t&SP=f&SB=f&DEB=t&V=WIN%2010%2C0%2C22%2C91&M=Adobe%20Windows&R=1280x1024&DP=72&COL=color&AR=1.0&OS=Windows%20XP&L=en&IME=t&PT=External&AVD=f&LFD=f&WD=f&TLS=t&ML=5.1
  52. //Capabilities.version: WIN 10,0,22,91

URL: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/system/Capabilities.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.