Thanks for your time dop2000.
So I think I am almost there, but I have a few questions.
I want to store and save the object UID in outString, I don't know if it is also a member of the ball family or also a member of the monkey family or a toy. I just want to send the string out and then rebuild the object.
How would I get hold of object.AsJSON. outstring=object.AsJSON doesn't exist because I can only pick the UID by family I can't pick it as a sprite or as an object. So I have to save it as either a toy, or a monkey or a ball. I can't save it as a sprite or object (or tell me how if I can). You say they are the same anyway. So lets suppose I get my outstring somehow.
Now what?
what object do i create to reload it? If I create a toy and then try set from JSON string outstring what if it was a ball?
I think I am close, but it seems I have to be specific about the family I am recreating as I have to call create before I can call set from JSON string.
thanks for your help so far, and I appreciate your time.
yours
winkr7