Jump to content
GreenSock

stanlyyuen

Members
  • Posts

    2
  • Joined

  • Last visited

stanlyyuen's Achievements

0

Reputation

  1. tks, it works. But, on the other hand, codes became much longer and only change the scale in such long codes, and i have to setY in another 'to' method. besides, I wonder if TweenMax has some way to chain all the operations like jQuery, just like this: TweenMax.to(...).to(...)
  2. hello, there is something wrong happen while i using the Kinectic's setScale method in TweenMax: var tl = new TimelineMax(); tl.to(group_b, 1, {setY: 0, setScale: {x: 0.95, y: 0.95}, ease: 'Back.easeOut'}, 0.0); tl.to(bp2, 1.5, {setY: 120, setScale: {x: 0.7, y: 0.7}, ease: 'Back.easeOut'}, 0.0); there is an exception in the console: Uncaught TypeError: Cannot read property 'x' of null and here is where the exception happen: getTransform: function() { var m = new Kinetic.Transform(), attrs = this.attrs, x = attrs.x, y = attrs.y, rotation = attrs.rotation, scale = attrs.scale, scaleX = scale.x, Uncaught TypeError: Cannot read property 'x' of null Uncaught TypeError: Cannot read property 'x' of null scaleY = scale.y, offset = attrs.offset, offsetX = offset.x, offsetY = offset.y;
×