Discussion:
stopMovie not executing
(too old to reply)
WOMP
2009-03-23 21:32:53 UTC
Permalink
Under what circumstances would the stopMovie handler not run?

I'm working on a program that was created by someone else. When QUIT is
selected from a drop down menu it goes to a marker "Exit" where on the third
frame after the marker an exitFrame handler with nothing in it but "quit" is
executed. I placed an alert inside the stopmovie handler and it doesn't
come up.

If I enter "stopMovie ()" just before quit, of course the alert comes up.

Isn't the stopMovie handler supposed to run anytime the projector quits or
after 20 years of using Director am I just finding out that stopMovie is
only for authoring? (I'm familiar with the situations in authoring when the
stopMovie handler is called and when it's not but my issue is in projector
mode only)

Craig
Ned
2009-03-26 07:48:21 UTC
Permalink
Hi Craig,

AFAIK, "on StopMovie" is triggered when you navigate from a movie to
another. Reading what you describe, it seems that quitting is executed
before it has a chance to happen.
WOMP
2009-03-26 11:02:37 UTC
Permalink
I'll experiment with that and verify that at least when navigating it
executes. I suppose if this is true, I could navigate to a quit screen to
insure that the stopmovie from the main movie executes (or I could just do
what I'm doing and call it explicitly before the "quit"

Thanks
--
Craig S. Wollman

Word of Mouth Productions
159-00 Riverside Drive West
New York, New York 10032
(212) 928-9581
Post by Ned
Hi Craig,
AFAIK, "on StopMovie" is triggered when you navigate from a movie to
another. Reading what you describe, it seems that quitting is executed
before it has a chance to happen.
Loading...