Parent group

Simon Lord slord at
Thu Jun 17 08:22:21 CDT 2010

In flash there was the notion of asking for the name of _parent to get
the ID or name of the container movieClip.  I have a scenario where I
would like to poll a button within a group to tell me which group it's

The long way would be to get the long name of target, filter it for a
string, get the first name in quotes to the right of it etc etc.

But I'm hoping there is something quicker.


on mouseDown
  put the short name of parent
end mouseDown

More information about the use-livecode mailing list