home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / hypercar / 2924 < prev    next >
Encoding:
Text File  |  1992-07-30  |  2.1 KB  |  54 lines

  1. Newsgroups: comp.sys.mac.hypercard
  2. Path: sparky!uunet!caen!news
  3. From: mdichter@hstbme.mit.edu (Mark Dichter, MD)
  4. Subject: Re: Apple QT XCMDS and SuperCard 1.6
  5. Message-ID: <mdichter-300792094157@134.174.81.94>
  6. Date: Thu, 30 Jul 92 09:50:04 EDT
  7. Organization: Decision Systems Group/ Harvard Med
  8. Followup-To: comp.sys.mac.hypercard
  9. References: <1992Jul29.010607.5690@trl.oz.au>
  10. Nntp-Posting-Host: 134.174.81.94
  11. Lines: 41
  12.  
  13. In article <1992Jul29.010607.5690@trl.oz.au>, loh@shiva.trl.OZ.AU (Roger
  14. Loh) wrote:
  15. > I have recently managed to use the Apple QTMovie XCMD in both HyperCard
  16. > and SuperCard 1.6.  Fine.  However, I cannot seem to get the QTPict XCMD
  17. > working under SuperCard.  It will work with HyperCard and even the
  18. > CompressPict command works with SuperCard but not the DisplayPict
  19. > command.  
  20. > It returns 
  21. >     Error   :Unable to find the PICT file...[9999]
  22. > What is the reason for this when the full volume path is supplied and
  23. > the CompressPict command works fine with the same file and path?  Is there
  24. > some trick to this XCMD or is it just incompatible with SuperCard :-(
  25. > If anyone has managed to display QT compressed picture files using
  26. > SuperCard or knows of another XCMD which does the job, I would appreciate 
  27. > the information.
  28.  
  29. The solution to your problem is built into SC 1.6. Just use the script
  30.     on mouseup
  31.        global vol --volume path contains:   Hard_Disk:Roger:
  32.        set the picturedata of cd grc 1 to vol & "butterfly" -- this assumes
  33. you have a draw rectangle as cd grc 1
  34.      set the topleft of cd grc 1 to 10,10
  35.   end mouseup
  36.  
  37. The error in QTPict seem to be the same as was in an early version of
  38. QTMovie, which they fixed.
  39. The programmer had left some HC 2.x specific code or callbacks in. They
  40. fixed this in the 1.0 version.
  41. The real trick with SC is to bring up a single frame of a movie as an
  42. object. I had to write my own
  43. XCMD to bring in the poster frame as a bitmap so I could put overlays on
  44. top of it. The QTMovie
  45. XCMD (version 3/19/92) seems to still have a bug in putting a poster frame
  46. which is not the
  47. first frame into the clipboard.
  48.  
  49. Mark Dichter, MD
  50. mdichter@hstbme.mit.edu
  51.