时间: 2021-07-31 作者:daque
17.system.capabilities东西 system.capabilities东西不妨让咱们赢得很多有价格的体例消息。 mx2004比起mx新减少了少许属性。 咱们用最大略的本领遍历那些属性并与mx比拟: 在mx和mx2004中辨别运转底下的语句
for(var temp in system.capabilities) trace(temp+":"+system.capabilities[temp]);
mx的输入截止: language:zh os:windows xp input:point manufacturer:macromedia windows serverstring:a=t&mp3=t&ae=t&ve=t&acc=f&deb=t&v=win%206%2c0%2c21%2c0&m=macromedia
windows&r=1024x768&dp=72&col=color&ar=1.0&i=point&os=windows xp&l=zh-cn isdebugger:true version:win 6,0,21,0 hasaudio:true hasmp3:true hasaudioencoder:true hasvideoencoder:true screenresolutionx:1024 screenresolutiony:768 screendpi:72 screencolor:color pixelaspectratio:1 hasaccessibility:false
mx2004的输入截止: language:zh-cn os:windows xp manufacturer:macromedia windows windowlessdisable:false localfilereaddisable:false avhardwaredisable:false playertype:external isdebugger:true hasscreenbroadcast:false hasscreenplayback:true hasprinting:true hasembeddedvideo:true hasstreamingvideo:true hasstreamingaudio:true version:win 7,0,14,0 serverstring:a=t&sa=t&sv=t&ev=t&mp3=t&ae=t&ve=t &acc=f&pr=t&sp=t&sb=f&deb=t& v=win%207%2c0%2c14%2c0&m=macromedia%20windows&r=1024x768&dp=72&col=color& ar=1.0&os=windows%20xp&l=zh-cn&pt=external&avd=f&lfd=f&wd=f hasaudio:true hasmp3:true hasaudioencoder:true hasvideoencoder:true screenresolutionx:1024 screenresolutiony:768 screendpi:72 screencolor:color pixelaspectratio:1 hasaccessibility:false
本着“新个性”的规则,我只对新减少的属性举行证明: avhardwaredisable: 能否禁止使用麦克风和摄像头 playertype: flash player的典型,如“独力”“外部”“插件”等 localfilereaddisable: flash player能否不妨在当地写入文献 hasprinting: 能否具有打字与印刷摆设 hasembeddedvideo: 能否扶助嵌入视频 hasstreamingvideo: 能否扶助流方法视频 hasstreamingaudio: 能否扶助流方法音频 hasscreenbroadcast: 与flash com相关的一项属性,flash player能否扶助屏幕播送 hasscreenplayback: 也是与flash com关系,flash player能否扶助屏幕播送回放 windowlessdisable: 不祥,能否禁止使用广博窗口?