home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / programm / 15256 < prev    next >
Encoding:
Internet Message Format  |  1992-09-09  |  2.1 KB

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