>That is pretty much what I am doing now but in 
> my actual movie I have so much going on that I
> am trying not to have to cycle though all the 
> sprites to find the one I am looking for.

Well, another approach would be to put this on your sprites:

property pMyMemmber

on beginSprite me
  pMyMember = sprite(me).member.name
  yada yada
end

on checkMyMember me, memName
  if memName = pMyMember then
    return sprite(me).spriteNum
  end if
end

Then you could do a 
spriteChannel = sendAllSprites (#checkMyMember, "Member 1")

SendAllSprites is kind of slow, of course. Another option would be to set up a 
registry object, have the sprites register their members, then ask the registry object 
for the appropriate sprite channel.

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

Reply via email to