Unparent Layers With JSFL?
Is it possible to un-parent layers while retaining their position using JSFL?
I have some projects that use classic tweened symbols with layer parenting, which I would like to bake and archive so that they can still be opened and exported using my copy of Flash CS6, without symbol offset issues.
I originally planned to bake the animations using Animate's "Convert to Frame-by-Frame Animation" right click option, so that the symbols' movements will be preserved after un-parenting them. However, this would result in countless keyframes that would manually have to be unlinked from their parent layers, unless an automated solution is possible.
And from my testing, turning off "use advance layers" in the document settings does not prevent layer parented symbols from becoming offset in versions of Flash/Animate that do not support layer parenting.
That leads me to these JSFL methods which might offer a less manual way to un-parent all those baked keyframes, but so far, I have not been successful with using layer.setRigParentAtFrame() to un-parent any layers.
If any assistance could be provided, I would highly appreciate it, and I thank you in advance for your time.
