This content has been marked as final. Show 12 replies
Thank you very for your reply.
I can delay the forget MIAW maybe but in my case the sound in the main movie stops when I open the MIAW.
Any ideas why that may be?
Can you post some code around opening your MIAW?
Here is my code for opening my MIAW
on mouseUp me
window("wShoes").drawrect = rect(0,0,400,600)
window("wShoes").rect = (_movie.stage.rect) + rect(200, 0, -200, 0)
There's nothing obvious there that's causing the sound to stop playing.
Can you do a search for 'forget' and determine whether this command is
being invoked somewhere that might cause sounds to be stopped?
I did the search and at the moment the forget is only in the MIAW(s) - I have 2 and the same happens with both. As soon as I open the MIAW the sound in main movie stops.
Is there a better place to put the play sound from than in the startMovie script. On stopMovie I have the sound.stop() and should add forget MIAW
Thank you for your help.
Sorry, but I'm out of suggestions.
Can you upload files somewhere so that they can be examined, or pare
your problem down to a small file that reproduces it?
If you comment out the 'moveToFront()' line in your window opening
script the sound continues playing. Since the window you're opening is a
#tool window there's no need to move it in front as it will float on top
It's possible you found an undocumented issue/bug.
Thank you thank you
I actually had tried that but because I did not remove the stopMovie handler (in the main movie) it had not worked for me.
So how to forget the MIAWs?
> So how to forget the MIAWs?
That one really *is* a recognised issue - you can't without stopping
sounds. The best you can do is take the currentTime of the sound and
restart it at the same point when the window is forgotten, or close them
without forgetting until your entire application closes.
Thank you so very much. I really appreciate your help.