Highlighted

TweenJs Plugins install problem

Participant ,
Dec 31, 2018

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?

Views

417

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

TweenJs Plugins install problem

Participant ,
Dec 31, 2018

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?

Views

418

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Dec 31, 2018 0
Adobe Community Professional ,
Dec 31, 2018

Copy link to clipboard

Copied

So where did you put the files for the plugins?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 31, 2018 0
Participant ,
Dec 31, 2018

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 31, 2018 0
Adobe Community Professional ,
Dec 31, 2018

Copy link to clipboard

Copied

add the plugin js to your included files:

plugin_test_fla__Canvas_.png

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 31, 2018 0
Participant ,
Dec 31, 2018

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 31, 2018 0
Adobe Community Professional ,
Dec 31, 2018

Copy link to clipboard

Copied

this is the correct code:

createjs.RotationPlugin.install();

but i can't get it to work with chrome, either.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 31, 2018 0
Participant ,
Dec 31, 2018

Copy link to clipboard

Copied

okay thanks a lot. and happy new year.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 31, 2018 0