Skip to main content
Known Participant
Dec 16, 2022 10:59 AM UTC
Question

Going back inside a symbol after editing another

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 is closed to new replies. Start a new post to keep the conversation going.

16 replies

kglad
Community Expert
Community Expert
Dec 16, 2022 12:13 PM UTC

are you creating a jsfl document to automate some task?

 

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

Translate
tiagosaadAuthor
Known Participant
Dec 16, 2022 12:47 PM UTC

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

Translate
kglad
Community Expert
Community Expert
Dec 16, 2022 12:55 PM UTC

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) 

Translate