If I right click on an movieclip on the stage and generate the texture atlas it shows me just 0.02 as duration, but I've a 200 frames animation with such movieclip. I noticed that if I copy and paste the motion frames into that movieclip inner timeline, then it works. What am I missing?
Should it just as simple as drawing a box, animating it and generating it's texture atlas?
The texture atlas is made from the contents of the movieclip, and not from the main timeline animation of that movieclip. If you want to make a texture atlas from an animation, put the animation into its own symbol, then right-click on the symbol on the stage or in the library.
Yeah I see, I just did it. Shame though, because it'd been very handy to export texture and animation data out of the main timeline selecting all symbols. Doing so would allow us to play such animation on the platform of our choice. Like this I have the animation data of the inner animation, but the outer one not.