How can I make a javascript file for a Solidworks Motion Study?

Hi everyone,

I'm planning on embedding 3D models into PDFs using LaTeX's media9 package. This is possible by using .u3d files, and calling them in the LaTeX code. LaTeX also has the ability to animate 3D models using javascript files. My question is this: given as SolidWorks Motion is the perfect in-house package to animate the model/assembly, is there a way to generate a javascript animation for the parts using SolidWorks or a third party converter? I don't know anything about coding javascript at all, and would prefer to not have to learn it in order to do this.

I know that, alternatively, I can render an .avi, convert it to an .mpeg, and call that instead, but I'd prefer user interaction with the model.

Thanks for any help or insight you guys can provide.

-Derek Roberts

SolidworksSimulation