Dynamically convert an Adobe Animate shape to a ZIM path
Channel: ZIM LEARN
Date: 08/03/2023

In our last tutorial we exported an Adobe Animate path to SVG then used the SVG code for a ZIM Squiggle.  In this tutorial we show how to do dynamically convert the path to a Squiggle without the two-step export process **.  Thanks João César for the solution!  

This will let the user be able to edit the shapes or let you animate or drag objects along the shapes.  Thanks for the Question on the Animate forum!  Cheers.  Please see the other ZIM Tutorials for Adobe Animate and you are welcome to join us at https://zimjs.com/slack or https://zimjs.com/discord to ask any questions.

Here is the FLA file https://zimjs.com/animate/html5_canvas_shape_to_zim.fla

** One thing to note (aside from calling Animate Flash again! - Sorry) is that we said the animation along the path could be turned on by setting pauseAnimate:false in the animate() call - well... we should have set set the startPaused:false in the animate() call - we had the wrong parameter name.