Is it a projector, or a MIAW?  I thought you were asking about running the 
projector the next time.

Director windows are a little different than traditional windows.  I'm not 
sure what you mean by "second movie".  If you mean, "the same movie the 
next time around", then what I suggested could work.  If you're talking 
about a MIAW, you can either resize it on the fly, or put up a backdrop 
MIAW and then your regular MIAW.  But, yes, MIAWs have to be handled 
carefully.

If you just want to launch to a .DIR movie within the same session, but 
have it be "full screen", the answer is not really - you could change the 
drawRect of the stage to be the same as the screen dimensions, which would 
be the easiest and would make it truly full screen, but it's not the same 
as a full-screen projector, which is really the regular size movie with a 
backdrop.  If you want to launch a .DIR with a backdrop but without using 
MIAWs, within the same projector sessions, then the answer is no.  The 
backdrop is created by the projector.  You can fake it with a MIAW.

Probably the closest thing, in theory, would be to make a MIAW that simply 
has a black square in it, with a black (assuming that's your backdrop 
color) stage color, and it just loops around to itself (go to the frame) at 
a very slow frame rate (1fps).  If you're running "full screen", then you 
launch the MIAW and send it behind the stage, so effectively you have a 
backdrop but you're still executing in the stage.  The only tricky part, if 
you're new, is that you'll have to put in code to see if the backdrop gets 
clicked on and comes forward (to obscure the stage).  If it does become the 
frontmost window, you'll have to make a call (either bringToFront or 
moveFront, I forget) to bring the stage to the front again.  The net effect 
to the user would be that clicking on the backdrop would cause the stage to 
flash, but it's better than losing the stage.

That's the only possible solution I can think of given what you're 
describing/asking for.

- Tab


At 04:53 PM 12/30/00 -0500, Slava Paperno wrote:
>Thanks for responding, Tab. Since I want to give the user the option of 
>starting the second movie (from my stub) either fullscreen or in a window, 
>the INI solution doesn't really apply--or does it?
>
>I want the app to be equally usable for individual use (when any normal 
>person will want to see the desktop and be able to move the window 
>around), and for public presentations, when blocking out the desktop is ideal.
>
>That's why I want the user to be able to change the mode at runtime. I'm 
>new to Director (coming from Toolbook), and I seem to be asking the wrong 
>questions. Isn't it the most natural thing in the computing world to be 
>able to move and resize the application's window?
>
>I know I can use a MIAW as a surrogate Stage, and then the user can click 
>the zoom box to fill the screen... but MIAWs introduce additional 
>limitations...
>
>Is there no good solution to this?
>
>Many thanks!
>
>Slava
>
>  At 04:33 PM 12/30/2000 -0500, you wrote:
>
>>The easiest way, if it is installed on the hard drive, is to modify (or 
>>create, if you don't ship with one) an .INI file with the same name as 
>>the projector (e.g.:  BIGGAME.EXE has a matching BIGGAME.INI file).
>>
>>In it, make a section:
>>
>>[Settings]
>>FullScreen=1
>>UseTitleBar=1
>>
>>(1=enable, 0=disable).
>>
>>It will require a little proficiency with FileIO to do this.
>>
>>Otherwise, if you start from CD or just don't want to fiddle with FileIO, 
>>you could modify the drawRect of the stage to be full screen.  This isn't 
>>quite the same effect as the "full screen" option, in that it literally 
>>will occupy the screen, but might be acceptable, depending on what you're 
>>doing.
>>
>>- Tab
>>
>>At 03:25 PM 12/30/00 -0500, Slava Paperno wrote:
>>>My dir movies are started from a projector stub. I'd like to give the 
>>>user an option of starting the next movie full screen or in a window. Is 
>>>there a way to do this with Lingo (under Windows and Macintosh)? Thanks!
>>>
>>>Slava


[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