Well, first of all, there could be 500 members all on the stage at once and
they would have the same member...

So would you want a list of all the sprite references that have a given
member?

spritesOfMember = getSpritesWithMember( member("somemember") )
put spritesOfMember
-- [(sprite 1), (sprite 18), (sprite 400)]

~Mathew
----- Original Message -----
From: "Ron Woodland" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 11, 2003 5:06 PM
Subject: <lingo-l> Finding the sprite from the member


> A recent discussion thread discussed how to find the name of a cast
> member attached to a sprite.  That's pretty straightforward and answered
> well by several list members.
>
> Here's a challenge that has puzzled me for a long time.  I usually take
> a coding shortcut because of time, but is there a way to find the sprite
> if the member number or name is known?
>
> (x = the spriteNum of member "junk")
>
> At first glance, this expression seems it would work.  Even a
> rudimentary understanding of the concept of object properties shows this
> is a ludicrous expression.  A cast member can't possibly have this
> property.  However, it seems that there should be way to identify which
> sprite is using a known cast member.
>
> -------------------------------------------------
> Ronald Woodland -- St. George, Utah  84770
> -------------------------------------------------
> "I long to accomplish a great and noble task, but
> it is my chief duty to accomplish small tasks as
> if they were great and noble."  -- Helen Keller
>
> [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!]
>



[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