A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: How do you make text appear as if it is Typed???

  1. #1
    Junior Member
    Join Date
    Mar 2000
    Posts
    2

    Question

    Hi all,

    Just wondering, is there an easy way to make text appear one letter at a time, as if it is being typed???

    Thanks,

    Daniel Margetts

  2. #2
    Senior Member
    Join Date
    Feb 2000
    Posts
    195

    Lightbulb

    How about a small looping MC with the following script:


    Set Variable: "x" = x + 1
    Set Variable: "/:text" = Substring (/reText, 1, x)
    If (x = Length (/reText))
    Stop
    End If


    Where "preText" is a variable that you set at the start of the movie to contain the text that will eventually be displayed in the Text Field. And "text" is the variable that you assigned to the Text Field that will ultimately display the text.




    [This message has been edited by scottris (edited 15 March 2000).]

  3. #3
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,092

    Thumbs up

    In the movies section there is a .fla called typewriter.I tried it out and it is really cool.
    Download that one.

  4. #4
    Senior Member
    Join Date
    Feb 2000
    Posts
    195

    Talking

    Well, what'd ya know.. Gee, and here I thought I was on to something

    Looks like it's nothing new, after all.. I guess I won't bother submitting that idea to the Movies section!

  5. #5
    Junior Member
    Join Date
    Mar 2000
    Posts
    2

    Post

    Thanks all - that is great! Perfect 4 what i wanted! - Dannn

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