Flash Script - Simple Typewriter Effect

Download the sample files here.

1. Create one text field, and give it variable name "type".

2. Create 3 keyframes as shown below:

Flash Script - Simple Typewriter Effect

3. In the first key frame, insert the action:

text = "This text is being displayed with type writer effect";  max = length(text);   loop = 1; 

4. In the second key frame insert the action:

loop = loop + 1  

type = substring(text,1,loop); 

5. In the third key frame insert the action:

if (i > max)   { stop(); }   else   { gotoAndPlay (2); } 

6. That’s it! You have built your own type writer effect!


Category: software Time: 2003-04-28 Views: 0

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.093 (s). 12 q(s)