Interesting thread.
Thinking laterally, when you make a filmloop out of the score, 'the lastChannel'
is always the last *occupied* channel, not the lastChannel in the score.
So what about this?
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
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.
--
_____________
Brennan Young
Artist, Composer and Multimedia programmer
mailto:[EMAIL PROTECTED]
"What the guy is supposed to do is feel uncomfortable and when he has bugs,
suspect the problem is DR-DOS and then go out and buy MS-DOS or decide not to
take the risk for the other machines in the office."
-Bill Gates
[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!]