1 Reply Latest reply on Feb 10, 2010 12:13 PM by Sean_Wilson

    automatic screen display

    vjcapone

      Is there a command which allows a director movie to automatically adjust to the viewers screen size?

        • 1. Re: automatic screen display
          Sean_Wilson Adobe Community Professional

          You can set the rect of the stage, and its drawRect, to the rect of the first entry in the desktopRectList, but not all sprite types scale satisfactorily:

          on prepareMovie
            dRect = _system.desktopRectList[1]
            aw = _player.activeWindow
            aw.rect = dRect
            aw.drawRect = dRect
          end