• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to show words effect

Explorer ,
Jan 05, 2011 Jan 05, 2011

Copy link to clipboard

Copied

I have a word,its content is follows:
var txt:String="abcdefg";


I want to show word from the first letter to the last letter,the word effect is one by one. For example,at the beginning I only show the first letter 'a',the 'a' size is big,such as 30,and then the letter 'a' size minish gradually to 20.Then show the second letter 'b',first,the letter 'b' size is big also,such as 30,and then the letter 'b' size minish gradually to 20,and the letter 'b' is behind the letter 'a',and so on with letter 'c'. When all letters show,the effect stops.


I have puzzled with it for several days.I don't know how to realize above function. Anyone could tell me how to do it,an example code is better.


Thanks in advance!

TOPICS
ActionScript

Views

344

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 06, 2011 Jan 06, 2011

Copy link to clipboard

Copied

LATEST

If you generate individual letters into separate Sprites, you can tween them in sequence to achive what you want, using just code.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines