Jump to content
GreenSock

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

Text Plugins Using Adobe Animate

Recommended Posts

Can anyone point me in the right direction in how to implement the text plugins using Adobe Animate using HTML5 Canvas.

Link to comment
Share on other sites

I found out that this plugin only works on DOM objects so it will not work with Canvas.

  • Like 1
Link to comment
Share on other sites

  • 11 months later...

Use animate dom_overlay_container div for TextPlugin, ScrambleTextPlugin, SplitText...

 

example of code in actions

 

var txt1 = document.createElement("p");
var node1 = document.createTextNode("This is the old text");
txt1.appendChild(node1);
txt1.setAttribute("id", "p1");
var element = document.getElementById("dom_overlay_container");
element.appendChild(txt1);

TweenLite.to("#p1", 2, {text:"This is the new text"});

  • Like 1
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.
×