Avatar billede maqhem Nybegynder
02. februar 2005 - 19:41 Der er 8 kommentarer og
1 løsning

Brugers indstillinger

Kan man i Flash MX lave en funktion der finder ud af 'computerens' indstillinger - eks. Skærmopløsningen, Farvekvaliteten eller Farveskema - bare for at tage et par eksempler, for jeg skal i virkeligheden kun bruge 'computerens' Skærmopløsningen. Kan jeg finde den? - evt. de andre også?

Hilsen Nicolaj
Avatar billede nikolajdu Nybegynder
02. februar 2005 - 19:46 #1
Du kan aflæse X med

System.capabilities.screenResolutionX

og y med Y til sidst sjovt nok ,-)
Avatar billede nikolajdu Nybegynder
02. februar 2005 - 19:52 #2
og et lynkig i hjælpefilen.

Property summary for the System.capabilities object
Property
Description
Server string

System.capabilities.avHardwareDisable
Read-only; specifies whether the user's camera and microphone are enabled or disabled.
AVD

System.capabilities.hasAccessibility
Indicates whether the player is running on a system that supports communication between Flash Player and accessibility aids.
ACC

System.capabilities.hasAudio
Indicates whether the player is running on a system that has audio capabilities.
A

System.capabilities.hasAudioEncoder
Indicates whether the player is running on a system that can encode an audio stream, such as that coming from a microphone.
AE

System.capabilities.hasEmbeddedVideo
Indicates whether the player is running on a system that supports embedded video.
EV

System.capabilities.hasMP3
Indicates whether the player is running on a system that has an MP3 decoder.
MP3

System.capabilities.hasPrinting
Indicates whether the player is running on a system that supports printing.
PR

System.capabilities.hasScreenBroadcast
Indicates whether the player supports the development of screen broadcast applications to be run through the Flash Communication Server.
SB

System.capabilities.hasScreenPlayback
Indicates whether the player supports the playback of screen broadcast applications that are being run through the Flash Communication Server.
SP

System.capabilities.hasStreamingAudio
Indicates whether the player can play streaming audio.
SA

System.capabilities.hasStreamingVideo
Indicates whether the player can play streaming video.
SV

System.capabilities.hasVideoEncoder
Indicates whether the player can encode a video stream, such as that coming from a web camera.
VE

System.capabilities.isDebugger
Indicates whether the player is an officially released version or a special debugging version.
DEB

System.capabilities.language
Indicates the language of the system on which the player is running.
L

System.capabilities.localFileReadDisable
Read-only; specifies whether the player will attempt to read anything (including the first SWF file the player launches with) from the user's hard disk.
LFD

System.capabilities.manufacturer
Indicates the manufacturer of Flash Player.
M

System.capabilities.os
Indicates the operating system hosting Flash Player.
OS

System.capabilities.pixelAspectRatio
Indicates the pixel aspect ratio of the screen.
AR

System.capabilities.playerType
Indicates the type of player: stand-alone, external, plug-in, or ActiveX.
PT

System.capabilities.screenColor
Indicates whether the screen is color, grayscale, or black and white.
COL

System.capabilities.screenDPI
Indicates the dots-per-inch screen resolution, in pixels.
DP

System.capabilities.screenResolutionX
Indicates the horizontal size of the screen.
R

System.capabilities.screenResolutionY
Indicates the vertical size of the screen.
R

System.capabilities.serverString
A URL-encoded string that specifies values for each System.capabilities property.
n/a

System.capabilities.version
A string containing Flash Player version and platform information.
V
Avatar billede maqhem Nybegynder
02. februar 2005 - 20:51 #3
Hvad bruger man så "Server string" til? - Altså Bogstavet/-erne, der står nedenunder?
Avatar billede nikolajdu Nybegynder
02. februar 2005 - 20:55 #4
Prøv at kigge i hjælpefilen det forklarer det meget bedre - Det er de parametre der sendes med hvis du sender en streng til serveren med GET
Avatar billede maqhem Nybegynder
02. februar 2005 - 21:00 #5
Ehmn... hehe - okay. Men så tak da... Der var da noget at tage fat på. Skriv et svar - så skal du få dine ellers godt tjente point ;)
Avatar billede nikolajdu Nybegynder
02. februar 2005 - 21:03 #6
oki doki.
Avatar billede maqhem Nybegynder
02. februar 2005 - 21:07 #7
Lige en sidste ting: Hvor finder jeg egentlig hjælpefilen?
Avatar billede nikolajdu Nybegynder
02. februar 2005 - 21:08 #8
Tryk F1 ;-)

Tak for point.
Avatar billede maqhem Nybegynder
02. februar 2005 - 21:10 #9
Okay - tak - og, det var så lidt....
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
IT-kurser om Microsoft 365, sikkerhed, personlig vækst, udvikling, digital markedsføring, grafisk design, SAP og forretningsanalyse.

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester