Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
akobenzu

PixiPlugin fillColor causes error

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

Thanks, it works with 4.8.7

  • Like 1
Link to comment
Share on other sites

I have updated the codepen, works well! Thanks!

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.
×