A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Can flash detect monitor resolution?

  1. #1
    Member
    Join Date
    Aug 2007
    Posts
    33

    Can flash detect monitor resolution?

    Can flash detect monitor res, or any other system resources (processor speed, browser, pop-up blocker, memory, etc.)?? I know there are secutity issues, but i would like to create a detect/launch page for some eLearning courseware. I currently use javascript to do this but would like to use flash.

  2. #2
    http://www.in3d.eu Kostas Zotos's Avatar
    Join Date
    Jul 2007
    Location
    Athens - Greece
    Posts
    408
    Hi,

    Some basic system properties are available in the "System.capabilities" class:

    Run this AS to see a list:
    PHP Code:
    var Width=System.capabilities.screenResolutionX
    var Height=System.capabilities.screenResolutionY

    trace
    ("Screen resolution: "+Width+" x "+Height" pixels")

    trace("\n--------------- Other system properties ------------------")
    for (
    i in System.capabilities){
        
    trace(i+":  "+System.capabilities[i])


    Regards!

    Kostas
    K. Zotos online portfolio: http://www.in3d.eu

  3. #3
    Member
    Join Date
    Aug 2007
    Posts
    33

    Thanks...

    After digging a bit deeper on capabilities, I dont see a browser detect, cookies enabled, computer memory, processor, color depth, or pop-up windows enabled?!?!?! am I just out of luck with these?

  4. #4
    http://www.in3d.eu Kostas Zotos's Avatar
    Join Date
    Jul 2007
    Location
    Athens - Greece
    Posts
    408
    Hi,

    Not completely sure but I don't think you can get processor, or system memory specific information, etc with the flash and with the normal official available methods.. (at least with version 8.0)

    Bye!
    K. Zotos online portfolio: http://www.in3d.eu

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center