> I have a cast member that is placed in a random
> sprite channel. Lets call it member 1.
> On a button click I need to figure out what
> sprite challe member 1 has been placed in.
You could use a handler like this in a behavior on the button (warning--untested
e-mail Lingo):
numChannels = 999 -- or less if you have a max
repeat with i = 1 to 999
if sprite(i).member.name = "member 1" then
put "member is in channel " & i
exit repeat
end if
end repeat
Cordially,
Kerry Thompson
[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!]