Thanks Mark!  What if a shockwave movie(Movie1) calls
a projector movie(projectorMovie) instead.  Exiting 
projectorMovie sometimes causes the application to
crash.  Exiting just returns to Movie1.
I have it saved as a projector bec. I was having sound
problems with avi files.  

-- Alvin

Date: Wed, 06 Sep 2000 23:38:13 -0700 From: "Mark A.
Boyd" <[EMAIL PROTECTED]> Subject: Re: <lingo-l>
abrupt exit At 08:07 PM 9/6/00, ALVIN GO wrote: 
>HI! 
>I've got an application that's ready to roll except 
>for one major hitch. 
>I saved several dir movies in shockwave format. 
>MainMovie calls Movie1 by: 
> >Go to Movie "Movie1". 
> >Movie1 plays a MIAW(Movie1Miaw) that can lead you
back 
>to MainMovie by: 
> >tell the stage to forget window "Movie1Miaw" 
> >tell the stage to go to Movie "MainMovie" 

While you're doing well by not having the MIAW forget
itself, you are asking the MIAW to execute a command
after telling the stage to forget it. Even without the
'go to movie' command you would probably experience
problems. Leave the forgetting completely up to the
stage. In most circumstances I recommend having the
MIAW set a global variable that a script in the stage
can monitor. When that global is true, the stage
forgets the window. In this case, though, it might be
enough just to forget the MIAW in the stopMovie
handler of "Movie1" 
So, 
on someEventOrHandler 
  tell the stage to go to movie "MainMovie" 
end 

- -- movie script in "Movie1" 
on stopMovie 
   forget window "Movie1Miaw" 
end 

- -- Mark A. Boyd Keep-On-Learnin' :) 


__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

[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