Solved

Auto Type

Posted on 2000-04-28
1
180 Views
Last Modified: 2010-04-03
How to auto type the text?
0
Comment
Question by:flashprofessor
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to display a webpage in a flash 10 360
private function works only without TabNavigator? 3 310
Open Source MP4 Flash Player 2 178
Install adobe flash plugin for Firefox win 7 9 70
This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
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 how to load their YouTube profile onto Flash Media Live Encoder.
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.

776 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