Determining stack of object nested in groups
ambassador at fourthworld.com
Sat Aug 28 17:54:51 CDT 2004
Trevor DeVore wrote:
> I can think of two ways to get the stack an object belongs to based on
> the long id of the object:
> 1) Parse the string and extract the "stack myStack" part.
> 2) loop that keeps getting the owner until the owner is a stack.
> I couldn't find a built in property for this. Is there one or is option
> 1 the best way to do this?
I think so, perhaps something like:
if ("stack ""e&"MyStack""e) is in \
the long name of the target then....
Fourth World Media Corporation
Ambassador at FourthWorld.com http://www.FourthWorld.com
More information about the use-livecode