Animate 2020.
TextureAtlasExporter.exportTextureAtlas(symbol, path)
symbol: Object; The SymbolItem or SymbolInstance on which texture atlas should be generated.
Boolean.
Method; Exports the texture atlas for the selected symbol.
symbolsArr=fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements;
TextureAtlasExporter.exportTextureAtlas(symbolsArr[0].libraryItem)