jump to navigation

Determining Flash Player version in Flex August 20, 2010

Posted by Tournas Dimitrios in Flex.

To determine which version of Flash Player you are currently using–the standard version or the debugger version–you can use the Capabilities class. This class contains information about Flash Player and the system that it is currently operating on. To determine if you are using the debugger version of Flash Player, you can use the isDebugger property of that class. This property returns a Boolean value: the value is true if the current player is the debugger version of Flash Player and false if it is not.

The following example uses the playerType, version, and isDebugger

properties of the Capabilities class to display information about the Player:

<?xml version="1.0"?>
<!-- logging/CheckDebugger.mxml -->
<m x: Application xmlns:mx="http://www.adobe.com/2006/mxml">
        import flash.system.Capabilities;

        private function reportVersion():String {
            if (Capabilities.isDebugger) {
                return "Debugger version of Flash Player";
            } else {
                return "Flash Player";
        private function reportType():String {
            return Capabilities.playerType + " (" + Capabilities.version + ")";
    <mx:Label text="{reportVersion()}"/>
    <mx:Label text="{reportType()}"/>
</m x: Application>

An alternative solution is to visit the official site of Adobe for detecting your Flash version



No comments yet — be the first.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s