> i want to check if the property of member's list Lroll = 1 or 0
> only 1 of 5 sprite work ??????
> on shuffle
>   repeat with w = 1 to 5
>     set x = getProp(Lroll, w)
>     if x = "1" then
>       set the membernum of sprite x to random (6)
>     end if
>   end repeat
> end
> 
> i try many form of script in vain   ... need help...thank'

set the membernum of sprite x to random (6) 
  should be:
set the membernum of sprite w to random (6)

Because your x always equals 1 (or 0) :)

Karina

 


[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