I'm still on my weird imaging Lingo trip--and I found the root cause!

I don't know if you will ever run into this, but here's something to watch 
out for.

We're using a sprite to hilite some read-along text. The root of our 
problem is that we're abusing the sprite.

If the text doesn't wrap, we're setting the sprite's rect and forecolor.

If the text wraps, we're drawing an image in memory, then setting the 
sprite.member.image.

Those two apparently don't mix. We got into a situation where the PI and 
the message window were reporting different geometries for the same sprite. 
For example, the PI showed the sprite at -1, -1, 0, 0. But in the message 
window, we got this:

put sprite(7).rect
-- rect(26, 335, 322, 358)

So, obviously, we were confusing Director by manipulating the sprite in 
different ways.


Cordially,

Kerry Thompson


[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!]

Reply via email to