3 Replies Latest reply on Mar 26, 2009 4:02 AM by Newsgroup_User

    stopMovie not executing

    Level 7
      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


        • 1. Re: stopMovie not executing
          James Newton, ACP Level 3
          Is there another stopMovie handler in a lower-numbered Movie Script? What if you change the "quit" to "halt"?
          • 2. Re: stopMovie not executing
            Level 7
            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.
            • 3. Re: stopMovie not executing
              Level 7
              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
              "Ned" <_ned_net@wanadoo.fr> wrote in message
              news:gqfc06$68v$1@forums.macromedia.com...
              > 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.