Highlighted

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

New Here ,
Jul 09, 2019

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.

Adobe Community Professional
Correct answer by ClayUUID | Adobe Community Professional

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.

Views

132

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

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

New Here ,
Jul 09, 2019

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.

Adobe Community Professional
Correct answer by ClayUUID | Adobe Community Professional

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.

Views

133

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jul 09, 2019 0
Adobe Community Professional ,
Jul 09, 2019

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 09, 2019 1
New Here ,
Jul 10, 2019

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 10, 2019 0
Adobe Community Professional ,
Jul 09, 2019

Copy link to clipboard

Copied

What do you mean by "object path"?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 09, 2019 0
New Here ,
Jul 10, 2019

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 10, 2019 0
Adobe Community Professional ,
Jul 10, 2019

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 10, 2019 0