_When_ do you need to know if a member is used at a certain marker?
When the movies starts? or when you arrive at that marker?
If it's the former, please checkout Pranavn's reply. If it's the
latter, then put something like this in the frame script at every one
of you markers:
on beginSprite me
numberOfSpriteChannels = the lastChannel -- Thanks Pranavn!
repeat with spCh = 1 to numberOfSpriteChannels
put sprite(spCh).member
end repeat
end
(It's the same script code but a different handler name and a
different location of the script)
This will put the sprite channel's member in the message window, as
you know. If you need to use this information in your scripts, you
will probably want to put the information in a variable instead.
-Andreas
>Thank you for your reply.. If i have only one marker then i can use
>the script u v suggested.. But i have totally 150 markers in my
>movie.. please suggest what should i do now.
>
>Rani
>
>On Sat, 02 Mar 2002 Andreas Gaunitz P11 wrote :
>>Rani,
>>
>>>I have a problem.. I have a text member in my cast and i want to
>>>know whether the member is used in score or not. If it is used..
>>>in which frame it is used.
>>>
>>>Yah yah i know that using the 'Find in score' menu option we can
>>>know that in authoring mode.. But i want to know whether the
>>>member is used or not in runmode.
>>
>>
>>Well, in that case you need to ask every sprite which member
>>currently it uses.
>>
>>
>>on startMovie
>>
>> numberOfSpriteChannels = 200
>>
>> repeat with spCh = 1 to numberOfSpriteChannels
>> put sprite(spCh).member
>> end repeat
>>
>>end
>>
>>
>>-A.
>>
>>
>>[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!]
[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!]