Hi

All the methods suggested my other people will do the job perfectly.
However I would make a slight change in Tab Julius's code.

on mouseUp me
--for the close button on your MIAW
tell the stage
  closeMiaw()
end tell
end

Then in the closeMiaw handler which is on your stage, have the code to 
close and forget your Miaw.
You can of course pass your window reference globals  to and fro to make 
sure you're closing the right Miaw.

Another way would be to use your projector exit handler to go through the 
'windowlist' and forget all instances of any MIAW's.
So initially when you actually close a MIAW, you don't 'forget' it, simply 
just 'close' it.
---
   repeat with i = 1 to (the windowlist).count
     forget the windowList[i]
   end repeat
---
Though not recommended, it works well to take care of the bug which kills 
all sounds on the stage when you forget a MIAW.

HTH.

Mayuresh

At 03:01 AM 7/30/2002 -0400, you wrote:
>From: Jason Whiting <[EMAIL PROTECTED]>
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Date: Mon, 29 Jul 2002 17:56:19 -0400
>Subject: <lingo-l> Ripping my hair out (re: imaging lingo and v-12)
>Reply-To: [EMAIL PROTECTED]
>
>I keep getting this error. It happen 1 out of 5 clicks and on everymachine
>we test on. I have a main movie that open a MIAW. With in this window 
>an
>image is loaded onto the screen. This image is swaped out on clicks. This
>error happens when the user clicks the close button. The script on the close
>button is
>
>On mouseup
>  forget movie "display"
>End
>
>The error happen right away after the click
>
>Below is the error. The registers and the stack dump change but the rest is
>always the same.  Anyone know what the heck is going on? I'm using 8.5.1 on
>98 but we've tested it on many configuations and it keeps happening. Thanks
>for any help.
>
>-Jason
>
>
>PROJECTOR caused an invalid page fault in
>module IML32.DLL at 0187:6906db9c.
>Registers:
>EAX=04e5ac7c CS=0187 EIP=6906db9c EFLGS=00010246
>EBX=00000000 SS=018f ESP=0062edec EBP=0062f080
>ECX=04e5d2d8 DS=018f ESI=00000001 FS=a237
>EDX=00000003 ES=018f EDI=04e5d2d8 GS=0000
>Bytes at CS:EIP:
>66 8b 4e 10 8b d1 81 e2 f8 ff 00 00 81 fa d0 ca
>Stack dump:
>04e5c928 04efa834 00000000 690067b5 04e5d2d8 68014191 04e5d2d8 04efa834
>00000000 04cb5ba8 680b4ef1 04f5b8b4 04cace16 0062eec4 0062eec4 0062eea8

[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 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to