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' :)


[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