Thanks for the input!

Brennan Young wrote:

> on getHighestOccupiedChannel
> 
>   f = new(#filmloop)
>   f.media = the score
>   s = 1
> 
>   m = sprite(s).member
> 
>   sprite(s).member = f
> 
>   updatestage -- important!!!
> 
>   tell sprite s
>     highestOccupied = the lastChannel
>   end tell
> 
>   -- clean up...
>   sprite(s).member = m
>   f.erase()
> 
>   return highestOccupied
> end

Very elegant! and a bit uncanny, and well... good stuff.

> This is working for me. No repeat loops, just a screen update so that you can
> 'tell' the filmloop stuff. 'Doesn't get puppeted channels though.

In my case, it's no problem... the only puppeted sprites have an object
keeping track of them.

-Clars

[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