Accessing custom props using array notation

Devin Asay devin_asay at
Wed Aug 18 20:42:50 EDT 2010

Anyone know if it's possible to access custom properties from an objects default custom property set using array notation? This is easy to do for custom property sets you create yourself. 

set the myPropSet["prop1"] of btn "myBtn" to "foo" -- works

But I can't figure out if you can do the same thing with the default set:

put the customKeys["prop1"] of img "myImg" into "bar" -- doesn't work

If this could be done it would be nice for constructing custom property names dynamically when access custom props, as in a sequence of prop names like prop1, prop2, prop3, etc.


Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

More information about the Use-livecode mailing list