On Dec 14, 2004, at 2:59 PM, Mendelsohn, Michael wrote:
Can you dynamically add a cast member to the stage? Puppetsprite, which
I've never ever used, doesn't seem to be the solution. I've got a score
with 32 channels, and I'd like to add a sprite, and remove it later, to
the lastchannel + 1. Is this possible?
Yes. Of course. You can use puppetSprite, or you can just set the member of a sprite channel.
What you can't do is use "lastChannel + 1" - there is no LastChannel + 1. You can't add channels.
LastChannel -
Movie property; the number of the last channel in the movie, as entered in the Movie Properties dialog box. Read-only.
Note that you *can* evaluate the lastChannel + 1 in terms of generating a number, for instance you can "put" its value, but if you try to assign a sprite to it... well, there is no channel with that number.
Sounds to me like you need 33 channels, and set the member of sprite(33).
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net
[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!]
