The JS asset libraries should not conflict with each other, unless there are symbols with the same names. Even then, you can change the Symbols namespace for each FLA to prevent collisions.
It sounds like you're trying to copy/paste the code out of the preview HTML. It's not really designed for this, and it will lead to name collisions. You'll either want to rewrite this logic in your own HTML (using the preview code as a reference), or rename the variables as appropriate after you copy/paste.
Hi Grant Skinner
As I can have two animations on the same page, could you give me an example