Solved

Auto Type

Posted on 2000-04-28
1
205 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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

690 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