Jump to content
GreenSock

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

mcstampfunk

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by mcstampfunk

  1. Hi All,

     

    I am trying to animate a mask in a Flash HTML5 Canvas document using TweenLite. I am trying to animate a symbol that is in a mask layer. But when I try I get a JavaScript console error:

     

    TweenLite.min.js:12 Uncaught Cannot tween a null target.

     

    My other objects animate fine. I believe I have all the proper .js files loaded in the HTML (easelJS, tweenJS, movieclip, preloadJS) and the Tweenlite files (CSSPlugin, EasePack, Tweenlite). 

     

    Here is the code I used that throws the error. 

    TweenLite.to(this.leftYellowStripeMask, .5, {y:-9, ease:Quad.easeOut, delay:.3});
    

    I'm guessing masks are not supported this way?

     

    Thanks,

     

×