At 6:26 PM -0800 1/8/01, Stephane Comeau wrote:
>Try putting a sprite on the bottom channel of your MIAW movie which contains
>a hollow rectangle shape sized to the MIAW.  On this sprite add a behavior
>to catch the events:
>
>on mouseEnter me
>   nothing
>end
>
>on mouseLeave me
>   nothing
>end
>
>etc....
>
>I think this should block the stage movie from knowing about the mouse.
>


This was my first thought.  But unfortunately, it doesn't work. 
Rollovers still go through to the stage.

At 6:38 PM -0800 1/8/01, Mark MacKenzie wrote:
>Couple of approaches come to mind ...
>
>In the behaviors on the buttons on the stage, you could try:
>
>   on mouseEnter
>     if (the activeWindow) <> (the stage) then exit
>     -- rollover stuff
>   end

I can't do this because I'm using some of the same behaviors (e.g., 
generalized button behavior) in both the MIAW and the stage movie.

>
>Or, perhaps easier, when you open the MIAW, put an invisible quickdraw
>rectangle, as high and as tall as the stage, on top of all the other
>sprites on the stage, and use it to consume your mouseEnter events:
>
>   on mouseEnter
>     nothing
>   end
>
>Of course, when you close the MIAW, you'll want to remove the quickdraw
>sprite as well.
>

I guess this is what I'll have to do.  Since the user can move this 
MIAW, I also have to add code that moves the quickdraw rectangle when 
the user moves the MIAW.

I consider this a bug in Director and have submitted a bug report to 
wish-director.

Thanks,

Irv


>  >
>>  I have a movie in a window that I bring up over the stage.
>>  Everything is working fine, except that when I move the cursor within
>>  the MIAW and is also over something on the stage that has a rollover
>>  behavior (for example a wide button), that rollover behavior is
>>  triggered and the thing on the stage goes into it's roll state.
>>
>>  Is there any way to stop this?  The MIAW cannot be modal - I need to
>>  have the ability for the user to click on things on the stage while
>>  the MIAW is up.  I am just looking for a way to block the mouse from
>  > being "seen" by the stage movie while it is over the MIAW.
>>

-- 
Lingo / Director / Shockwave development for all occasions.

        (Over two millions lines of Lingo code served!)

[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