Parent group

Simon Lord slord at karbonized.com
Thu Jun 17 09:22:21 EDT 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
in.

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.

Ex:

on mouseDown
  put the short name of parent
end mouseDown



More information about the use-livecode mailing list