This content has been marked as final. Show 5 replies
If you're using MX 2004 and your scriptExecutionStyle is 10 you could try:
tMember = member(_key.key)
if not voidP(tMember) then sound(1).play(tMember)
m = "aName"
if member(m).number > 0 then -- that member name exists
> if member(m).number > 0 then -- that member name exists
Except in MX 2004 with _movie.scriptExecutionStyle = 10 where it instead
provokes a script error (number isn't a property of VOID, which is what
member(m) evaluates to)
Thanks Sean. I'm using MX 2004 and I guess it must have _movie.scriptExecutionStyle = 10 because your solution was the one that worked! Yay!! Much obliged.
Thanks for your suggestion JB but with the version of Director I'm running, Sean's was the solution that worked.