Question : Test if parent of an object is the main timline.

Is there a function that returns true if the parent of an object is the main timeline and false if it is not.

Answer : Test if parent of an object is the main timline.

i don't think there is a default way of doing it, but you could check what the parent is and use and if statement to handle it?
I'm assuming you're using AS3?
i.e in my child class if i do this trace(this.parent); it returns the name of my Document Class.
Random Solutions  
 
programming4us programming4us