Here is an update on what the quickTimeVersion() does on the Mac in D8 when
QuickTime is not installed:
1. The QuickTimeSupport Xtra *does* load in D8 even if QT is not installed.
I believe this differs from D7.
2. QuickTime cast members will return #quicktimeMedia as their member type,
which is not surprising given item 1 above (but again, this is a difference
from D7 where it would report #empty, I believe, because the Xtra hadn't
loaded).
3. The quickTimePresent returns False (0) as would be expected.
4. quickTimeVersion() returns 0.0000 (depending on the float precision,
again as would be expected given item 1 (but again this is a difference
from D7 where it would cause a handler not defined error).
5. FWIW, under Windows 98, installing QT 4.1 yields a quicktimeversion() of
4.16
6. Note that baVersion("qt3") returns the string "0" when QT is not
installed on the Mac.
I hope that helps.
At 3:03 PM -0400 04/20/01, Bruce Epstein - Zeus Productions wrote:
>>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!]
Re: QTVersion() when n QT is installed
Bruce Epstein - Zeus Productions Mon, 23 Apr 2001 16:36:55 -0700
- <lingo-l> QTVersion() when n QT is ... Slava Paperno
- Re: <lingo-l> QTVersion() when... Peri
- Re: <lingo-l> QTVersion() when... pranavn
- <lingo-l> QTVersion() when n Q... Bruce Epstein - Zeus Productions
- Bruce Epstein - Zeus Productions
