Section 1
//MainTimeline (speaking_fla.MainTimeline)
package speaking_fla {
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var hi;
public function MainTimeline(){
addFrameScript(0, frame1, 2, frame3, 3, frame4, 4, frame5, 6, frame7, 7, frame8, 10, frame11, 11, frame12, 13, frame14, 39, frame40, 40, frame41, 41, frame42, 42, frame43, 45, frame46, 46, frame47, 47, frame48, 48, frame49, 49, frame50);
}
function frame14(){
hi.say(" ");
}
function frame12(){
hi.say("h");
}
function frame3(){
hi.say("t");
}
function frame7(){
hi.say("u");
}
function frame1(){
hi = new speak();
addChild(hi);
}
function frame4(){
hi.say("r");
}
function frame5(){
hi.say("i");
}
function frame8(){
hi.say("m");
}
function frame11(){
hi.say("p");
}
function frame40(){
hi.say("I");
}
function frame43(){
hi.say("a");
}
function frame46(){
hi.say("k");
}
function frame47(){
hi.say("in");
}
function frame41(){
hi.say("'m ");
}
function frame49(){
hi.say("a ");
}
function frame42(){
hi.say(" m");
}
function frame48(){
hi.say("g ");
}
function frame50(){
gotoAndPlay("start");
}
}
}//package speaking_fla
Section 2
//speak (speak)
package {
import flash.display.*;
import flash.text.*;
public class speak extends MovieClip {
var i:int;// = 0
var txt;
public function speak(){
txt = new TextField();
i = 0;
super();
txt.width = 400;
txt.height = 400;
txt.x = 0;
txt.y = 0;
txt.multiline = true;
txt.textColor = 0xFF00;
txt.wordWrap = true;
txt.selectable = false;
super.addChild(txt);
}
public function say(_arg1:String){
txt.text = ((txt.text + " ") + _arg1);
}
}
}//package