在FLEX中获得当前PLAYER版本等信息.

 

代码:

 

<? xml version="1.0" encoding="utf-8" ?>
< mx:Application  xmlns:mx ="http://www.adobe.com/2006/mxml"  horizontalAlign ="center"
    verticalAlign
="middle"  viewSourceURL ="srcview/index.html" >
    
< mx:Panel  title ="Flash Players"  paddingBottom ="15"  paddingLeft ="15"  paddingRight ="15"  paddingTop ="15" >
        
< mx:Label  text ="Version de Flash Player: {flash.system.Capabilities.version}, Debug Player: {flash.system.Capabilities.isDebugger}" />
    
</ mx:Panel >
</ mx:Application >

你可能感兴趣的:(Flex)