home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!swrinde!network.ucsd.edu!sdcc12!euclid!sakelley
- From: sakelley@euclid.ucsd.edu (Scott Kelley)
- Newsgroups: comp.sys.mac.programmer
- Subject: QuickTime, Director, Closing Windows
- Message-ID: <37864@sdcc12.ucsd.edu>
- Date: 9 Sep 92 22:26:54 GMT
- Sender: news@sdcc12.ucsd.edu
- Lines: 33
- Nntp-Posting-Host: euclid.ucsd.edu
-
- I'm working on a large multimedia project with MacroMind Director. Since
- Director's QuickTime support leaves something to be desired (it's buggy)
- I'm working on a set of XObjects to drive QuickTime with. XObjects are
- like XCMD/XFCN's in HyperCard, but with some object-orientedness to
- them.
- My XObject is very simple: It gets two numbers and a string as
- parameters, opens the movie filename found in the string, and plays it
- with the upper left corner in the coordinates specified. So far so good.
- Problem: When I call CloseWindow to dispose of the window after I've
- played the movie, QuickDraw erases the region that had the movie in it,
- and puts a white rectangle there instead. This is a problem because it
- presents the user with an unexplained flash in the movie window. (From
- director I'll use a single frame of the movie as a castmember in
- Director, and when the user clicks on it, I'll play the movie on top of
- it. When the movie stops, I want it to CLEANLY go back to the first
- frame.
- One thing I tried was taking out the call to CloseWindow, which
- besides being the wrong thing to do, didn't work right either. For some
- reason I had to click the mouse to get Director to play the movie again
- (my test movie plays the same movie repeatedly at the mouse position).
- Does anyone have a hint/suggestion/solution for me? Is there a way to
- close a window without having it get erased? Can I store the image
- behind the window before opening the window and then restore it when I'm
- done? What should I do?
- Thanks for any help/suggestions/solutions. Post or email, either is
- fine with me.
-
- Scott
- -------------------------------------------------
- Scott Kelley, sakelley@ucsd.edu, (619) 534-8560
- Multimedia Interactive Learning Laboratory (MILL)
- Department of Biology, UC San Diego
- -------------------------------------------------
-