At 16:45 +0300 06/26/2002, Jussi Jokinen wrote:
>One possible solution is to get sprite's bottom corner coordinates and use
>posToChar, but it won't work in this particular case, because posToChar
>returns -1 if used in beginSprite, prepareFrame or such (the events I'm
>looking forward to).
Well, try it outside of those events then.
You can also just get the height of the sprite and divide that by the
point size of the text -- that should give you the number of lines on
display.
>This shouldn't be a difficult task, as I consider it as a very basic text-
>managing -simply to know what part of the text is visible to the user!
Text management is not particularly easy, it seems -- it's always
been just the other side of facile in Director, anyway.
--
Warren Ockrassa | http://www.nightwares.com/
Director help | Free files | Sample chapters | Freelance | Consulting
Author | Director 8.5 Shockwave Studio: A Beginner's Guide
Published by Osborne/McGraw-Hill
http://shop.osborne.com/cgi-bin/osborne/0072195622.html
[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!]