Different resolutions

Ask a Question related to Macromedia Director Basics, Design and Development.

  1. #1

    Default Different resolutions

    I created a project that is a mix of old ones, in a way that I have some dir
    movies at 800x600 and other dir movies to 1920x1200. I put them in a cd rom and
    now the problem is that if someone has a lower resolution than 1920x1200 he
    won't see everything. Is there a way to make all movies apear the same size, or
    change the final user screen resolution. I tryed BuddyApi, but to be honest I
    don't understand what command I have to use or in wich way to use it.

    Thanks!

    subigor Guest

  2. Similar Questions and Discussions

    1. action for different web resolutions
      I was wondering what the best way is to have a action that creates and saves a web layout in the various resolution but after I have everything set...
    2. Different Screen Resolutions
      I have a new install of XP-Home on a new machine. First experience with XP so multi-user environment new. I thought I understood from help files,...
    3. layers and resolutions
      Ok, this is driving me crazy. I'm using layers, and toggle layer behavior in dreamweaver to achieve an effect that when you roll over a link, the...
    4. Screen Resolutions
      I have attached the following code to CD's to adjust Screen Resolutions, but it seems to conflict with my clients computers, it either shuts down...
    5. full screen / different resolutions
      I have a projector file that I am setting to run full screen, but I would like to give the user the choice to set the resolution lower (maybe three...
  3. #2

    Default Re: Different resolutions

    Just replied to a resolution question earlier today, but here it is again. I
    have tried many of the resolution xtras and stand alones available and have
    found just about all of the ones I tried mess up the viewers screen. I mean
    that in restoring the viewers screen, their desktop is rearranged.

    Then I tried the AndradeArts "resolution" xtra and found the results better
    than anything else I have tried. It even controls process switching which can
    screw up a movie with MIAWs. Anyway, if you are using MX2004 be sure to get
    the new version (the one on the MX2004 CD).

    If you need an example of how I use it (the Lingo), I could send you a text
    file of the code. I do a little more than the author's sample.

    PS. If it needs to be said - I have no relationship with AndradeArts.


    klgc Guest

  4. #3

    Default Re: Different resolutions

    Thanks for the answer! it would be great if you could send me the Lingo code so I can test it. Then I will tell you about.
    subigor Guest

  5. #4

    Default Re: Different resolutions

    Following is the Lingo I use:

    Resolution Xtra coding extracted from movie script

    -----------------------------------------------------------------

    global gResXtra, gScrSettings

    -----------------------------------------------------------------
    on prepareMovie

    if the runmode = "Projector" then

    -- initialize resolution Xtra
    gResXtra = new(Xtra "resolution", "xxxxxx-xxxxx-xxxxx-xxxxx")

    -- initialize desired screen settings
    -- (width, height, depth, and changed flag)
    gScrSettings = [1024, 768, 32, 0]

    -- find best available screen resolution (at or above desired)
    scrList = get_display_modes(gResXtra)
    tw = 9999
    th = 9999
    td = 0
    repeat with i = 1 to scrList.count
    if ((scrList[i][1] = gScrSettings[1]) \
    AND (scrList[i][2] >= gScrSettings[2])) \
    OR ((scrList[i][1] >= gScrSettings[1]) \
    AND (scrList[i][2] = gScrSettings[2])) then
    if (scrList[i][1] <= tw) AND (scrList[i][2] <= th) \
    AND (scrList[i][3] >= td) then
    tw = scrList[i][1]
    th = scrList[i][2]
    td = scrList[i][3]
    end if
    end if
    end repeat
    gScrSettings[1] = tw
    gScrSettings[2] = th

    -- test best available screen resolution (at or above desired)
    -- and minimum desired color depth to see if display mode can
    -- be set to such
    scrTest = test_resolution(gResXtra, gScrSettings[1], \
    gScrSettings[2], gScrSettings[3])
    if NOT scrTest then
    alert "Sorry, your monitor can not be temporarily set at " \
    & "or above a minimum of 1024x768 and 32 bit color"
    halt
    end if

    -- OK to initiate new settings
    -- change screen resolution and color if other than desired
    scrAt = get_current_display_mode(gResXtra)
    if (gScrSettings[1] <> scrAt[1]) OR \
    (gScrSettings[2] <> scrAt[2]) OR \
    (gScrSettings[3] > scrAt[3]) then
    gScrSettings[4] = 1 -- flag change
    t = set_resolution(gResXtra, gScrSettings[1], \
    gScrSettings[2], gScrSettings[3])
    center_stage(gResXtra)
    end if

    -- clear monitor and prevent control task switching
    hide_taskbar(gResXtra)
    hide_desktop(gResXtra, 0, 0, 0)
    set_auto_switching(gResXtra, 0)
    disable_task_switching(gResXtra)

    end if

    (other movie initialization coding)

    end prepareMovie

    -----------------------------------------------------------------
    -----------------------------------------------------------------
    on stopMovie

    if the runmode = "Projector" then

    -- restore display mode
    if gScrSettings[4] then
    reset_resolution(gResXtra)
    end if

    -- restore task switching
    enable_task_switching(gResXtra)
    set_auto_switching(gResXtra, 1)

    -- restore desktop
    show_desktop(gResXtra)
    show_taskbar(gResXtra)

    -- kill the xtra reference
    gResXtra = 0

    end if

    end stopMovie

    -----------------------------------------------------------------



    klgc Guest

  6. #5

    Default Re: Different resolutions

    Thanks mate! I hope this one works. I'll tell you about.
    subigor Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139