• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

New Here ,
Jul 09, 2019 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.

Views

372

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
community guidelines

correct answers 1 Correct answer

LEGEND , Jul 10, 2019 Jul 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.

Votes

Translate

Translate
Community Expert ,
Jul 09, 2019 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.

Votes

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
community guidelines
New Here ,
Jul 10, 2019 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.

Votes

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
community guidelines
LEGEND ,
Jul 09, 2019 Jul 09, 2019

Copy link to clipboard

Copied

What do you mean by "object path"?

Votes

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
community guidelines
New Here ,
Jul 10, 2019 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.

Votes

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
community guidelines
LEGEND ,
Jul 10, 2019 Jul 10, 2019

Copy link to clipboard

Copied

LATEST

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.

Votes

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
community guidelines