Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

TweenJs Plugins install problem

Participant ,
Dec 31, 2018 Dec 31, 2018

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?

859
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 31, 2018 Dec 31, 2018

So where did you put the files for the plugins?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 31, 2018 Dec 31, 2018

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 31, 2018 Dec 31, 2018

add the plugin js to your included files:

plugin_test_fla__Canvas_.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 31, 2018 Dec 31, 2018

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 31, 2018 Dec 31, 2018

this is the correct code:

createjs.RotationPlugin.install();

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 31, 2018 Dec 31, 2018
LATEST

okay thanks a lot. and happy new year.

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