At 1:44 PM -0500 4/2/01, Sharon Moeller wrote:
>I have a screen where if the wrong thing is clicked on, another 
>screen pops up with an error box.  The problem I am having is that I 
>have very stupidly left the buttons underneath is error screen 
>active.  Will a stop event prevent the other buttons from executing 
>their scripts?  If not, is there a quick way for me to prevent other 
>buttons from executing their script if clicked on while these error 
>screens are visible?
>


If I understand what you are asking, you want to simulate a "modal" 
dialog box so that the user can only interact with the dialog while 
it is up and not interact with anything outside of it,  If this is 
what you want there is a simple trick to this.  You can use the tool 
palette to create a shape castmember of an invisible rectangle - 
large enough to cover the whole screen.  Then in the frame where you 
put up your error dialog screen, also put up the invisible rectangle 
in a channel above all the main screen sprites, but below all your 
error dialog sprites.  Then attach a behavior like this:

on mouseDown me
    beep -- if you want
end

on mouseUp me
   beep -- if you want
end

I call this a "mouse catcher".

Irv
-- 

Lingo / Director / Shockwave development for all occasions.

   (Home-made Lingo cooked up fresh every day just for you.)

[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