At 8:02 PM -0500 7/26/03, you wrote:
On Saturday, Jul 26, 2003, at 19:44 America/Chicago, Buzz Kettles wrote:

there's no easy way to do using Lingo

The only way is to 'walk the score' & check each sprite, accumulating a list of frame#,sprite# each time you find a match to the member you are looking for.

Hey Buzz, you might remember the Lingo at this link:


http://www.nightwares.com/faq/faq5.htm#2.%20Score%20issues

This is an ancient script I came up with to determine which was the last sprite used in a given channel. You (Buzz) sent some suggestions for optimization.

I do have a faint remembrance.
Looking at it again, I'd probably suggest running the sprite repeat loops from the top DOWN, getting the sprite().member & comparing to (member 0 of castLib 0) so that it skips over channels w/o sprites until you hit the max channel used.


Of course this optimization would not be useful for checking the members of all the sprites, since it's benefit is that it tries to avoid used sprites.


I think with a little hacking it could be used to make a list of members associated with each sprite.

probably; or generate an instance list for each used member.

But can this script really be used during runtime?
or is it a utility script to be run within auth?

hth
-Buzz
[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