is it possible to add metadata to an object? i'd like to add an image id to a graphic for later reference. foo.imageID = 10 isn't possible, so is there some other way?
You can use "insertLabel()" and "extractLabel()" to achieve what you want.
var myImage; myImage.insertLabel("myLabel", "myValue"); alert(myImage.extractLabel("myLabel")); // alerts myValue
More info: http://bit.ly/bxITfo
Hope that helps.
excellent thank you!
You are welcome!