Unfortunately, I need to both move the movie back and forth between primary and secondary monitors - and also make the movie resize to the current resolution of that monitor. I seem to be losing my centering when switching if I take out the drawRect for the secondary monitor - If I leave in the drawRect It doesn't work at all. I am assuming that is because it measures from the 0,0 being at the top left of the primary monitor. It pulls this " [rect(0, 0, 1600, 1200), rect(-1024, 0, 0, 768)] " as its coordinates - so i guess it makes sense that the primary works and the secondary does not. If I add the centerStage = TRUE to the secondary monitor it pulls it back to slightly offset on the primary monitor.
on myDrawRectFullScreen2 (the stage).rect = the desktopRectList[2] the centerStage = TRUE end on myDrawRectFullScreen (the stage).rect = the desktopRectList[1] (the stage).drawRect = the desktopRectList[1] the centerStage = TRUE One last shot at this. Any other input? Thanks again. Krista > From: Tab Julius <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Tue, 10 Sep 2002 21:15:34 -0400 > To: [EMAIL PROTECTED] > Cc: <[EMAIL PROTECTED]> > Subject: Re: <lingo-l> specify secondary monitor with lingo? > > > The easiest thing to do would be: > > 1) Get the desktopRectList (this is a Lingo property) > 2) If there's more than one listed, set your stage to that rect. > > It would be something akin to: > > > on startMovie > if (count(the desktopRectList) >=2) then > the stage.rect =the desktopRectList[2] > end if > end > > This is how I'd at least start to try this, and assume it would work, but I > haven't tested it. > > - Tab [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!]