Jump to content
Search Community

Using a variable for the Scamble Text Plugin

BakerShoeMaker test
Moderator Tag

Recommended Posts

Just answered my own question. I converted the number into a string. Then used the string variable in the scramble text code. Kudos for me!

 

var progress: Number = (1/11)*100;
var progressString:String = progress.toString();

TweenLite.to(txt_ProgressBarResults, 1, {scrambleText:{delay: 1, text:progressString, chars:"09", speed:0.2}});
 

  • Like 2
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...