HectorCollector
Programmer
I like to import a textfile to flash and then parse through it to sort out keywords. Is it possible to sort out characters too like you can with the c-command getchar?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
formatText = function (input) {
var tempArr = input.split("to");
trace(tempArr[0]);
trace(tempArr[1]);
};
//
getCharacters = function (input) {
for (var i = 0; i<input.length; i++) {
trace(input.charAt(i));
}
};
//
string = "text string to be formatted by function";
formatText(string);
getCharacters(string);
&textContent=all of the text that I want to parse in Flash...
&textContent1=some of the text that I want to parse in Flash]&textContent2=more of the text that I want to parse in Flash