Skip to main content
Known Participant
December 16, 2022
Question

Going back inside a symbol after editing another

  • December 16, 2022
  • 1 reply
  • 1111 views

Hi, there!
I´ve been struggling with an issue.
I'd like to copy some information stored in a symbol inside my library to another symbol.
I am inside the target symbol at its target frame and my source object is selected on my library.
I use the "an.getDocumentDOM().library.editItem(myLibraryItem.name)" to enter the library's symbol and read my info BUT when i use the command "an.getDocumentDOM().exitEditMode();" it goes back to the ROOT of my scene.
I tried to find the information of wich symbol i was editing, but was not succesfull. The currentTimeline info refers to the scene, also did not work.

Does anyone know how to get around this?

Thanks in advance!

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
December 16, 2022

are you creating a jsfl document to automate some task?

 

or are you in the animate ide and trying to do something?

tiagosaadAuthor
Known Participant
December 16, 2022

I am at a .jsfl file automating a task 🙂
Thanks!

kglad
Community Expert
Community Expert
December 16, 2022

save your  selected target symbol/target frame in one (or two) variables > save your library symbol info >  exit edit mode > select that previously selected target symbol/target frame using that (those) variable(s)