at 07.12.2001 21:19 Uhr, Joe Gallagher wrote:
hi Joe,
this solution is dangerous, because it is incomplete!!
If you have multiple monitors attached to your system, it is possible that
your desktoprectlist looks like this:
[rect(-1600, 20, 0, 1220), rect(0, 0, 1152, 768)]
So this line:
> r = getat(getat(the desktoprectlist,1),3)
would result in '0'
and while the size of the monitor is much larger than your required size,
this line
>if (r < 800) then
is logically wrong!
So you should always check in which desktop your movie resides and if the
desktop's height/width is big enough:
screenCount = (the desktopRectList).count()
repeat with i = 1 to screenCount
...
wide = the desktopRectList[i][3] - (the desktopRectList[i][1])
... -- test if your movie is inside this dtRect
end repeat
best
> on PrepareFrame
> r = getat(getat(the desktoprectlist,1),3)
> -- This extracts the list from within the other list
> if (r < 800) then
> go to marker("Resolution")
> -- this is a message that tells the user they don't have the correct
> settings
> else
> go to marker("User ID")
> -- this lets the user proceed to the logon screen
> end if
> end
>
> Thanks again,
> Joe
-- Andy Fuchs
-- silent movie media
-- mailto:[EMAIL PROTECTED]
-- http://www.silent-movie-media.com
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/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!]