I was wondering if anyone could tell me if it possible to write Lingo that detects the user's monitor size and re-sizes the Stage in a projector to fit that monitor size - and if there is what that code might be?
The monitor size is given by the desktopRectList, and you can set the stage to this size:
-- on prepareMove mResizeStage() -- ... end on mResizeStage dRect = the desktopRectList[1] (the stage).rect = dRect -- optionally scale sprites to suit, -- (or create a routine to move them so they remain "centered") (the stage).drawRect = dRect end [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
