Parent group

Klaus on-rev klaus at
Thu Jun 17 09:44:07 EDT 2010

Hi Simon,

> 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.

try "the owner" of that button!

on mouseDown
   put the owner of the target
end mouseDown



Klaus Major
klaus at

More information about the Use-livecode mailing list