A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: "decoding letters" text effect?

  1. #1
    Junior Member
    Join Date
    Jul 2001
    Posts
    1
    Take a peek at this text effect these guys have on this page:
    http://www.manicstreetpreachers.com/manics/

    How can I achieve this? Is it simply action script, and if so how do I accomplish this?

    Or is something like SWFX?

    TIA

  2. #2
    Senior Member tonypa's Avatar
    Join Date
    Jul 2001
    Location
    Estonia
    Posts
    8,223
    You can do this with actionscript.

    You set up your text.
    Make a second variable, that will be changing and put text box with this on the screen.
    Start the loop.
    Play through all letters for example 2 times.
    Get first letter of your text. Add it.
    Play through all letters for example 2 times.
    Get second letter of your text. Add it.

    and until it is the end.

  3. #3
    Senior Member tonypa's Avatar
    Join Date
    Jul 2001
    Location
    Estonia
    Posts
    8,223
    I got interested and made this little thing with Flash5
    http://www.hot.ee/tonypa/flash/text.swf
    You need Flash5 player to see it working.

    This is code in frame1:

    if (temp eq "") {
    temp = 65;
    }
    text = text1+chr(temp);
    temp = temp+1;
    if (temp == 90) {
    temp = 65;
    text1 = text1+textalg.charAt( m );
    m = m+1;
    if (m==textalg.length) {
    text = text1;
    gotoAndStop (3);
    }
    if (textalg.charAt( m ) eq " ") {
    text1 = text1+textalg.charAt( m );
    m = m+1;
    }
    }
    textalg = "TEXT EFFECT";


    You only need 1 text box, with instance name "text" and GotoAndPlay(1) in frame 2.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center