At 9:04 am +1000 18/4/02, Matt Denton wrote:
>Howdy.
>
>Does anyone know if you can set arrays for custom properties?
>
>I'm trying to do something like:
>
>on mouseUp
>   put 100 into myArray["this"]
>   put 200 into myArray["that"]
>   set the cMyArray of button "test" to myArray
>end mouseUp
>
>...but get an array error all the time.  I've got 200 objects in the array.

Try like this:

on mouseUp
   put 100 into myArray["this"]
   put 200 into myArray["that"]
   set the customProperties["cMyPropertySet"] of button "test" to myArray
end mouseUp

Cheers
Dave Cragg
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to