• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 10. Controlling Text > Tweening Text Fields

Tweening Text Fields

If you place text fields in movie-clip symbols, you can apply motion tweens to them just as you can with other symbol instances. This technique lets you create titles and banners that not only can be updated dynamically, but also can move across the screen, rotate, and shrink or grow. Imagine a blimp traveling across the Stage with a giant scoreboard attached to its side. By using a dynamic text field as the scoreboard on the blimp graphic, you can update scores or have messages appear as the blimp floats. You could use the same method to create a stock ticker-tape monitor, with the stock prices moving across the screen. Or you could create a game that displays the current status of an individual player right next to the player’s icon as it moves around the Stage.

Eventually, you’ll learn to animate text fields just with ActionScript. Even so, keep in mind that you will still rely on tweens, or a combination of tweens and ActionScript, for many kinds of motions. Making text follow a path, for example, is a challenge better solved with tweens than with ActionScript alone.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint