Jump to content
GreenSock

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

Tween custom properties? [SOLVED]

Recommended Posts

Hi, I'm trying to tween this coordy alignment class, and he uses regular tweens and I'm wondering if it's possible to tween it's properties using tweenmax..

 

_tweens.push(new Tween(_wave3d, 'x', Cubic.easeInOut, _wave3d.x, x, 3, true));

_tweens.push(new Tween(_wave3d, 'width', Cubic.easeInOut, _wave3d.width, width, 3, true));

_tweens.push(new Tween(_wave3d, 'height', Cubic.easeInOut, _wave3d.height, height, 3, true));

_tweens.push(new Tween(_wave3d, 'depth', Cubic.easeInOut, _wave3d.depth, depth, 3, true));

_tweens.push(new Tween(_wave3d, 'frequency', Cubic.easeInOut, _wave3d.frequency, frequency, 3, true));

_tweens.push(new Tween(_wave3d, 'rotation', Cubic.easeInOut, _wave3d.rotation, rotation, 3, true));

 

like i don't think this would work... TweenMax.to(_wave3d, 1, {depth:whatever, frequency:whatever... ? thanks a lot for any help.

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