TweenJs Plugins install problem
Copy link to clipboard
Copied
I tried to use some of the TweenJs Plugins in HTML/Canvas
I write the code in the first Keyframe of main Timeline, but I even can not install the Plugin.
Only the MotionGuide Script works.
createjs.MotionGuidePlugin.install(createjs.Tween);
All my other efforts failed:
CSSPlugin.install();
RelativePlugin.install();
ColorPlugin.install();
RotationPlugin.install({rotationDir: -1});
I tried a lot of different ways like:
createjs.Tween.CSSPlugin.install();
createjs.CSSPlugin.install();
Can you help me with this first step?
What property do I have to use in RotationPlugin?
Copy link to clipboard
Copied
So where did you put the files for the plugins?
Copy link to clipboard
Copied
Ok I didnt do this.
Lets say I put the plugin files in an folder called "plugins". The folder is in the same place as the html file, created by AnimateCC.
Copy link to clipboard
Copied
add the plugin js to your included files:
Copy link to clipboard
Copied
I did this, but what about the line:
RelativePlugin.install();
I tried and failed with:
createjs.RelativePlugin.install();
RelativePlugin.install();
plugins.RelativePlugin.install();
I tried to put one of those lines in global Script
I tried to put it in the first frame.
Copy link to clipboard
Copied
this is the correct code:
createjs.RotationPlugin.install();
but i can't get it to work with chrome, either.
Copy link to clipboard
Copied
okay thanks a lot. and happy new year.

