Jump to content
Search Community

PixiPlugin fillColor causes error

akobenzu test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hi, I was trying PixiPlugin and wanted to tune `fillColor` according to docs at https://greensock.com/docs/Plugins/PixiPlugin

 

Codepen example doesn't work at all (dot doesn't move) if I include `fillColor`. I don't get anything in console on codepen, but on my local I get this stacktrace:

Quote

PixiPlugin.js?876d:435 Uncaught TypeError: Cannot read property 'length' of undefined
    at Object.init [as _onInitTween] (PixiPlugin.js?876d:435)
    at Object.p._initProps (TweenLite.js?2e20:1408)
    at Object.p._init (TweenLite.js?2e20:1368)
    at Object.p.render (TweenLite.js?2e20:1529)
    at TimelineMax.p.render (TimelineMax.js?2346:329)
    at TimelineMax.p.render (TimelineMax.js?2346:329)
    at Object.p.render (TweenLite.js?2e20:875)
    at Object.Animation._updateRoot.TweenLite.render (TweenLite.js?2e20:1150)
    at Object.p.dispatchEvent (TweenLite.js?2e20:285)
    at _tick (TweenLite.js?2e20:337)

 

Quote

PixiPlugin.js?876d:435 Uncaught TypeError: Cannot read property 'length' of undefined
    at Object.init [as _onInitTween] (PixiPlugin.js?876d:435)
    at Object.p._initProps (TweenLite.js?2e20:1408)
    at Object.p._init (TweenLite.js?2e20:1368)
    at Object.p.render (TweenLite.js?2e20:1529)
    at TimelineMax.p.render (TimelineMax.js?2346:329)
    at TimelineMax.p.render (TimelineMax.js?2346:272)
    at TimelineMax.p.render (TimelineMax.js?2346:329)
    at Object.p.render (TweenLite.js?2e20:875)
    at Object.Animation._updateRoot.TweenLite.render (TweenLite.js?2e20:1150)
    at Object.p.dispatchEvent (TweenLite.js?2e20:285)

 

Is it me doing something wrong or?

See the Pen MdemVE?editors=0010 by akobenzu (@akobenzu) on CodePen

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...