thank you, Rob!
Five minutes after my sending, I found:

if the member of sprite (i)=(member 0 of castLib 0) then

but it is far less elegant than your response...



> I don't know how to detect a sprite which doesnt contain anything.
> Would you have the answer?

Why yes, I would:

if sprite(i).member.type = #empty then
  -- there's nothing in this sprite channel
  next repeat
end if

HTH,
Rob


[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