Skip to main content
clémentr97509505
Participant
July 9, 2019
Answered

Is it possible to get the object path in JSFL, Scene 1 -> Symbol 1 -> Symbol 2 ?

  • July 9, 2019
  • 2 replies
  • 587 views

Is it possible to get the object path in JSFL, Scene 1 -> Symbol 1 -> Symbol 2 ? Or a getParent ?

Thanks in advance.

This topic has been closed for replies.
Correct answer ClayUUID

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.

2 replies

Legend
July 9, 2019

What do you mean by "object path"?

clémentr97509505
Participant
July 10, 2019

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.

ClayUUIDCorrect answer
Legend
July 10, 2019

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.

kglad
Community Expert
Community Expert
July 9, 2019

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.

clémentr97509505
Participant
July 10, 2019

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.