on startMovie
  _global.player = window().new("player.dir")
end

on stopMovie
  _global.player.close()
  _global.player.forget()
  -- _global.player = void
end

While it sounds like you have a resolution for your problem, I thought it worth pointing out that you have a pointer to your MIAW stored in a global variable and have commented out the code that finally disposes with this reference. When you forget() a window you are simply removing it from the windowList - much the same as (the windowList).deleteOne(window("player")) might. If you still have a reference stored in a global variable then the window isn't released and is still running, even if not visible (you issued close() to it). This *shouldn't* be causing you problems since the next time you run your stage movie the global is overwritten, but still it's good practice to clean up thoroughly after yourself, especially when you're seeing problems

Cheers,
-Sean.

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to