Copy link to clipboard
Copied
Is it possible to get the object path in JSFL, Scene 1 -> Symbol 1 -> Symbol 2 ? Or a getParent ?
Thanks in advance.
Ah. I believe that answer to that is "No" then. This is probably because container objects can be unnamed in Flash/Animate, so what would the path display?
DOM hierarchy is a bit a mess in Animate. Timelines contain layers, layers contains frames, frames contain elements, and elements contain members, which can contain elements which contain members ad infinitum.
Copy link to clipboard
Copied
yes, you can select symbol1 and then use fl.enterEditMode('inPlace') to get to symbol1's timeline and proceed from there. use fl.exitEditMode() to return to the previous timeline.
Copy link to clipboard
Copied
I already knew about this one, I just wanted to know if there was something else to get all the 'parents' without leaving the current timeline.
Copy link to clipboard
Copied
What do you mean by "object path"?
Copy link to clipboard
Copied
By "object path" I mean where the current "symbol 2" is in my scene, for example here it is under Symbol 1, and Symbol 1 is under Scene 1.
Copy link to clipboard
Copied
Ah. I believe that answer to that is "No" then. This is probably because container objects can be unnamed in Flash/Animate, so what would the path display?
DOM hierarchy is a bit a mess in Animate. Timelines contain layers, layers contains frames, frames contain elements, and elements contain members, which can contain elements which contain members ad infinitum.