> Dear Portebois!
> 
> I have tried with this script but it is not succeeding in changing the
> stage size.
> It begains moving the stage to top left corner of the screen.
> The lower lines of script vanishes the stage from screen and the window of
> stage still remains.
> Thanks, however, now I am going to try to change the resolution of monitor
> instead of stage.
> 
> Regards.
> 
> Mahmood.
> 
> Sebastien Portebois wrote:
> 
>>> At 05:37 25/10/2000, you wrote:
>>>> Dear Moller!
>>>> 
>>>> It is not working.
>>>> Regards.
>>>> 
>>>> Mahmood
>>>> 
>>>>>> 
>>>>> Try:
>>>>> (the stage).rect = rect(0, 0, 2, 2)

In a screensaver that I made (in director 7) I did the following, which
worked fine:

global gCenterPoint -- the center of the stage
-- used to reposition sprites

on prepareMovie
  if the runMode <> "Author" then
    monitor = the deskTopRectList[1] -- getting the size of monitor 1
    theWidth = monitor.width
    theHeight = monitor.height
    (the stage).rect = rect(0, 0, theWidth, theHeight)
    gCenterPoint = point(theWidth/2, theHeight/2)
  else
    -- no change in authering
    theStageRect = (the stage).rect

    gCenterPoint = point(theStageRect.width/2, theStageRect.height/2)
  end if
end


:-) Ask

.....ULTIMATUM........
 Ask M�ller - Lingo++
  [EMAIL PROTECTED]
  Tlf. 33 25 21 12
 Mobil 26 72 21 15
......................


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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!]

Reply via email to