>From: Slava Paperno <[EMAIL PROTECTED]>
>Can some kind soul tell me what the QuickTimeVersion() function in D8
>returns under Windows and Mac OS, when no QT is installed? None of the
>books that I have state that, and I'm trying to avoid uninstalling my QT to
>find out. Thanks!
Then you don't own Director in a Nutshell (for those of you who bought
"Lingo in a Nutshell" but not "Director in a Nutshell," you don't know what
you are missing).
Page 544-546 covers the return values of quickTimeVersion() for both Mac
and Windows.
As others here stated, it returns 0 when QuickTime is not installed on Windows.
Last time I checked, however, it causes a "handler not defined" error on
the Mac because the QuickTime Asset Xtra doesn't load if QT is not
installed, and the quickTimeVersion() method is included in that Xtra.
(This was the case in D7. Ihaven't tested it in D8).
Therefore, you not only can, you *should* first check "the
quickTimePresent" before checking quickTimeVersion(), or just check the
quickTimePresent instead. The latter returns 0 when QT3.0 or higher is not
installed and 1 when QT 3.0 or higher is present.
You can also use BuddyAPI to check the various versions of QuickTime if you
need to test a specific version.
There are also some problems in QT detection. Depending on what components
are installed, you can get false positives even when some components are
missing. This is most commonly an issue with, say, QTVR playback.
Anyway, this is all covered in great detail in Chapter 16 of DiaN, free for
download at http://www.zeusprod.com/nutshell/downloads for those of you so
unfortunate as to not own a copy. :)
Cheers,
Bruce
Looking for an ActionScript book as good as Lingo and Director in a
Nutshell? Check out "ActionScript: The Definitive Guide" from O'Reilly,
written by Colin Moock, edited by Bruce Epstein. Shipping May 1st (not June)
http://www.amazon.com/exec/obidos/ASIN/1565928520/zeusproductions
[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!]