Martha Arifin wrote:
> on mouseUp me
> tell the stage
> go the frame
> close (pCloseMiaw)
> forget (pCloseMiaw)
> updateStage
> end tell
> end
With respect, this is NOT the way to close a MIAW. It will lead to crashes.
A better method is to set a flag which triggers the close and forget
commands from within the stage.
eg:
In the MIAW:
gCloseMIAW = TRUE
In the stage (say on exitFrame):
if gCloseMIAW then
close yourMIAW
forget yourMIAW
end if
On the other hand, this doesn't seem to answer the question...
> From: Brian Piper <[EMAIL PROTECTED]>
> Subject: <lingo-l> MIAW stops sound
>
> Searched the archives, and found cases where closing the MIAW stops the
> sound. I've got a sound playing in the main projector, that I want to keep
> as a background loop as I open a MIAW, but using the openWindow causes the
> audio to stop.
> Any ideas???
I haven't encountered your precise scenario, but have you tried opening your
MIAW offstage somewhere before you play the sound? Moving the MIAW may have
less impact. Likewise when closing... you could leave the MIAW offstage
until you are certain that it is no longer needed?
Christian
----------------------------
Christian Wach
[EMAIL PROTECTED]
----------------------------
[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!]