David Kimmer wrote:
> 
> I posted a message on Friday with regard to AVI and the directToStage
> command - here is the problem...
> 
> I have a popup menu that is activated on a right mouse click, the AVI
> digital video is paused and the directoToStage of the video set to 0,
> however, even though the popup menu sprites are in the higher channels and
> the video is no longer directToStage, the popup still appears behind the
> video - aaarrggghhh!

It used to be (D4) that under Windows, all digital video was
direct-to-stage regardless of that the directToStage was set to.

If I'm not hopelessly out of date and that's still the case, you'll need
to do something like this:

<psuedo-code>
on showMenu
  sprite(movieSprite).movierate = 0
  -- leave an image of the movie
  sprite(movieSprite).trails = TRUE  
  updateStage
  -- and get the movie itself out of there
  sprite(movieSprite).loc = sprite(movieSprite).loc + point(-1000,-1000)
  make the menu pop up
end

on hidemenu
  make the menu pop down
  sprite(movieSprite).movierate = whatever it was before
  sprite(movieSprite).trails = FALSE
  sprite(movieSprite).loc = sprite(movieSprite).loc + point(1000,1000)
end

</psuedo-code>

When the menu goes away, there'll probably be a brief hole in the movie
where the menu was.
I'm not sure what to do about that.
-- 
Carl West    [EMAIL PROTECTED]
617.262.8830 x246    

I have no superfluous leisure; my stay must be
stolen out of other affairs; but I will attend you awhile.

           - Isabella, Measure for Measure, Act 3 Scene 1

[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