Jump to content
Search Community

GSAP Text Animation in Animate

rtania test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Notice this section:

 

Other GreenSock HTML5 tools

From the GSAP side you should be aware that not all of its available plugins and tools that work flawlessly within the HTML5 DOM will work with Animate’s HTML5 export. Tools such as Draggable, SplitText, ScrambleText, etc specifically target CSS values of DOM elements which don’t exist inside the HTML5 <canvas>.

  • Like 1
Link to comment
Share on other sites

You can use also try using the built in tween.js

 

http://www.createjs.com/demos/tweenjs/tween_sparktable

 

This is the example code snippet

 

 
/* Tweens the specified Object using ease bounce out effect.
*/
 
var target = this.movieClip_1;
var tween = createjs.Tween.get(target, {
loop: true
})
.to({
x: target.x,
y: canvas.height - 55,
rotation: -360
}, 1500, createjs.Ease.bounceOut)
.wait(1000)
.to({
x: canvas.width - 55,
rotation: 360
}, 2500, createjs.Ease.bounceOut)
.wait(1000)
.to({
scaleX: 2,
scaleY: 2,
x: canvas.width - 110,
y: canvas.height - 110
}, 2500, createjs.Ease.bounceOut);
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.
×
×
  • Create New...