From: gallion311 on
Whats up guys, I have some lingo in the first frame of an old project
(interactive CD) that checks for quicktime version 6, as well as desktop
resolution of 1024x768 or greater.

Works perfect and I love the script.

I started a new Interactive cd and figured I'd re-use that code as I'll need
it again. I opened the old project, copied and pasted the exact same code and
now I get an error when I open the new .exe.

Specifically it says "Director Player Error: Script Error. Continue? Yes or
No" Yes doesn't do anything except refresh the error screen.

The other funny thing is that when I play the project inside of Director I get
no such error or script problem...

Here's the code: (works perefectly in the older project, I just tested it
today and worked like a charm)

on exitframe
if quicktimeversion() < 6 then
go to frame 10
else
go to the frame+1
end if
if (the DesktopRectList)<[rect(0, 0,1024,768)]then
go to frame 15
else
go to the frame+1
end if
end

Any ideas?


From: Mike Blaustein on
the quickTimeVersion() command is part of the QT6Asset xtra. Make sure
that you include that xtra with your projector and it should work.
From: Mark A. Boyd on
On Wed, 26 Jul 2006 21:00:21 GMT, gallion311 posted in
macromedia.director.lingo:

> if (the DesktopRectList)<[rect(0, 0,1024,768)]then
>

Mike probably pinned down the error, but if you already have the Xtra where
it should be, I'm thinking that the above should read more like this:

if (the DesktopRectList)[1] < rect(0, 0,1024,768) then

Assuming you're only concerned about the primary monitor.


--
Mark A. Boyd
Keep-On-Learnin' :)