To answer the three questions:

What are you doing to that text file? Normally you would only briefly 
open and close text files, you wouldn't be continuously writing to it 
or reading from it, you can use other cast members for remembering 
what has changed, and just change the text file now and then. It's 
unlikely that the stage and the MIAW would write to the file at the 
same time anyway, but if you want to make sure it doesn't happen, how 
about using a global variable to mark whether the file is being 
accessed at the moment? That way, the stage and the MIAW would both 
check the variable before going ahead and writing to the file.

The stage and the MIAW have their own scores, you can have sprites in 
the same channel numbers. A script in the MIAW referring to a 
particular sprite will affect that sprite in the MIAW. Likewise a 
script in the stage will affect stage sprites. If you want to control 
the other one's sprites, you would use the Tell command. For example, 
a MIAW that was a palette like function could say something like ' 
tell the stage to set the text of field "whatever" to "this and that" 
'. Even if the MIAW had its own field "whatever", the stage's version 
would be the one to change.

The rollovers and stuff like that which are happening under the MIAW 
are happening because you are still mousing over those sprites, even 
though the MIAW is in the way. There may be simpler solutions, but 
perhaps you'll have to check whether the mouse is inside the rect of 
the MIAW before letting your stage scripts do their thing.

-- 

[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