prev | index | next

MX-System capabilities
6
6
612 bytes
1562 bytes
2003-09-22 15:48:42
2003-09-22 15:48:42
Oldes (oliva.david@seznam.cz)


To show all System.capabilities properties

Although I have no sound card it tells me, that I have Audio with MP3... people in Macromedia probably think, that nobody has PC without audio nowadays:-) These informations are mainly to recognise if someone has Flash on cell phone or palmtop

(mx-system.rswf)
background 153.165.139
fnt_Courier: defineFont2 [name "_typewriter" bold]
txt_test: EditText 'x 310x260 [
    ReadOnly Color 0.0.0 Font [fnt_Courier 12]
    Layout [Leading: -2]
]
DoAction [
    with System.capabilities [
        x:    "  hasAudioEncoder: " add hasAudioEncoder add
            "^/ hasAccessibility: " add hasAccessibility add
            "^/         hasAudio: " add hasAudio add
            "^/           hasMP3: " add hasMP3 add
            "^/         language: " add language add
            "^/     manufacturer: " add manufacturer add
            "^/               os: " add os add
            "^/ pixelAspectRatio: " add pixelAspectRatio add
            "^/      screenColor: " add screenColor add
            "^/        screenDPI: " add screenDPI add
            "^/screenResolutionX: " add screenResolutionX add
            "^/screenResolutionY: " add screenResolutionY add
            "^/          version: " add version add
            "^/  hasVideoEncoder: " add hasVideoEncoder add
            "^/---MX2004 only---" add
            "^/localFileReadDisable: " add localFileReadDisable add
            "^/          playerType: " add playerType
    ]
            
]
place txt_test at 5x0
showFrame
end