except with an external txt file for the animation to read from. … is this possible to do with flash, i have read a cuple of tutes, but haven’t been able to get it working…
Here is what i have so far, I created a dynamic text box and can read in the text using
Hi, I stil haven’t been able to figure out this, and was wondering if anybody atleast any ideas?
this what i have come up with so far…
_root.text_mc._visible=false;
//loads in and deals with the loaded text
loadVarsText = new loadVars();
loadVarsText.load(“hello.txt” );
loadVarsText.onLoad = function(success) {
if (success) {
textHolder= new Array();
//‘myWord’ is what i named the text as in the .txt file
textHolder = _root.myWord.split(":" );
x=textHolder.length;
//spaces them out evenly, one on top of the other
if (i != 1) { root["letter"+i]._y = root["letter"+(i-1)]._y+root["letter"+(i-1)]._height+10;
}
}
} else {
it doesnt show up because you need to correct the path to the textfield.[AS]loadText = new loadVars();
loadText.load(“hello1.txt”);
loadText.onLoad = function() {
text_mc.Txt.text = this.Txt;
};[/AS]Where text_mc is the instance name of the movie clip with the textfield inside.