ObjectName and SuperMatrix Objects

Mark Terry mark at abernackie.com
Thu Mar 6 04:54:16 PST 2008


On Mar 5, 2008, at 7:16 PM, Josh Davenport wrote:

> I'm finding I want a "Self()" function in a lot of places. Is there a
> way for an object in a matrix frame to retrieve it's own name while
> being drawn by the Super Matrix?

Since info("trigger") returns the name of the matrix, you could make  
the object names a function of that name. i.e. matrix named "Peach",  
objects named "Peach.Button", "Peach.TDSO", etc. so you could  
reconstitute object name with info("trigger")+"."+"TDSO", etc.

You should also check out the section on "Internal data" of  
SuperObjects in the Advanced Programming section of the big manual.  
But, as far as  know, you can't change object names on the fly.

M


More information about the Qna mailing list