Hi Ellen,
> the Glossary window display in black only and nothing else.
You have a separate file called 'Glossary', or something similar, which is
the fileName property of your MIAW. Is the stageColor of the Glossary movie
black? Is this the problem - and if not, what do you mean by "the window
displays in black only"?
> --a cast script attach to Close button of the movie Glossary
> --this is the same script also for my on closewindow handler
>
> global framenum
> global movname
>
> on mouseUp
> unloadmovie "Glossary"
> go to frame framenum of movie movname
> end
Where is this script/cast member located. It's a real no-no to have a MIAW
close itself - you're guaranteed a crash almost every time. What's more is
that you appear to be unloading the file your MIAW is using before you've
closed and forgotten your MIAW.
If you need a button in your MIAW that will close it, try just having that
script set a global called, say, gReadyToClose. Have a frame script in your
*main* movie monitor this global and when it changes to true (as set by the
script in your MIAW), close the MIAW.
For the sake of speed, it is probably not necessary to forget and unload the
glossary every time - unless you are running low on RAM or the glossary file
is huge. Not forgetting/unloading it means that the next time it is opened
it will open that much faster because Director won't have to reload the
Glossary file.
> Also when
> this window is active the main or the calling movie should be active also.
Im not sure what you mean by this. Do you mean that when you open your MIAW
the stage freezes? If your windowType is 4 then it shouldn't, unless you're
also setting the modal of the window to true.
I hope this helps you a bit,
-Sean.
[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!]