Jump to content
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

 

https://codepen.io/akobenzu/pen/MdemVE?editors=0010 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?

Share this post


Link to post
Share on other sites

Thanks, it works with 4.8.7

  • Like 1

Share this post


Link to post
Share on other sites

I have updated the codepen, works well! Thanks!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.