Two examples of basic animation.
- When no duration is defined for the scene, the tween will simply start playing when the scroll reaches the trigger position.
- If the scene has a duration the progress of the tween will directly correspond to the scroll position.
This example uses the shorthand version of Scene.setTween() to add TweenMax.to() animations.
To see how to build more advanced tweens check out the Advanced Tweening Example.