inserting Data into CustomProp array
brahma at hindu.org
Sat Jan 30 00:15:07 EST 2016
Hhmm serendipity happens
I was reading through all the dict entries on customproperties and custom property sets… a bit esoteric at first.
There was no explicity guide “how to create a custompropertyset”
But when I went back to my image and check… apparently this:
put the rect of the last image into tRect
set the uMyEffects["startsize"] of the last image to tRect
created a custompropertyset
and this extracts it
put the customProperties["uMyEffects"] of the last image into tEffects
put the keys of tEffects
OK… I’m good to good, but any advice in this area is appreciated.
On January 29, 2016 at 7:01:14 PM, Sannyasin Brahmanathaswami (brahma at hindu.org<mailto:brahma at hindu.org>) wrote:
What is the best practice for progressively adding data to a customProperty that you want to be an array? both inserting new keys into that property as well as changing values in the existing keys.
In this case i want an image(s) in a stack to have a custom property containing the necessary info for Animation Engine to do some effects. This seems like a good way to store this vs saving it anywhere else.
More information about the Use-livecode