mcstampfunk
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by mcstampfunk
-
-
No, and a new error message:
Uncaught TypeError: Cannot set property 'y' of undefined.
It doesn't seem to recognize the movieclip instance. The movieclip holds a vector shape, which is the mask. This is a file that I converted from Flash AS3/Greensock to a HTML5 Canvas doc, if that matters.
-
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,
GSAP in Flash Canvas - Null Target Error on Masks
in GSAP (Flash)
Posted
Thanks Carl. We ended up just dropping out the masks for now. But I'll check with CreateJS for future attempts.