Solved

Auto Type

Posted on 2000-04-28
1
199 Views
Last Modified: 2010-04-03
How to auto type the text?
0
Comment
Question by:flashprofessor
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 7

Accepted Solution

by:
ssdesign earned 75 total points
ID: 2761479
Create a movie and add a key frame at frame 10 and assign the action Stop to this frame.
Then draw a text field ( variable name: TypeField )of the size you want for your text to type and put the text inside ths box.
Then convert it to movie clip named AutoType and give it a instance name of typer.

Inside the movie clip add a layer and in this layer create blank key frames at frames 1,2,3 and 5.

In frame 1 give the action:

Set Variable: "TextBuffer" = TypeField
Set Variable: "TypeField" = ""
Set Variable: "TextLen" = 1

In frame two give the action:

Call ("5")

In frame 3 give the action:

Go to and Play (2)

In frame 5 give the action:

If (TextLen<=Length (TextBuffer) and TextLen<>0)
      Set Variable: "TextLen" = Eval ("TextLen") +1
      Set Variable: "TypeField" = Substring (TextBuffer,1,TextLen)
Else
      Set Variable: "TextLen" = 0
End If

Thats it.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question