> Does anyone know of any quick, simple solutions to playing mpeg/quicktime
> movies fullscreen Director on a Mac like Directmedia does on a PC? Perhaps
> an undocumented quicktime xtra function?

(Untested). It may be useful to store a flag to tell your exitFrame handler
if the video is FS or not. There are often issues with flickering/ artefacts
of video when doing this sort of thing. Solutions can be found by moving the
video sprite offStage when re-sizing it and making use of 'the stageColor =
the stageColor' to force Director to redraw the *entire* stage.

property p_OrigRect, p_FSRect

on beginSprite me
  p_OrigRect = sprite(me.spriteNum).rect
  p_FSRect = rect(0, 0, \
(the stage).rect.width, (the stage).rect.height)
end

on exitFrame me
  if keyPressed("z") then
    sprite(me.spriteNum).rect = p_FSRect
  else if keyPressed("x") then
    sprite(me.spriteNum).rect = p_OrigRect
  end if
end

HTH,
-Sean.


[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