Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
Bayani Portier #1
reading long text files
Hi guys,
I have a bit of a question relating to file streams in AIR.
I have a dictionary in a text file, which I need to load and parse into words.
I am hitting a bit of a snag, as the following code snips the characters
before the end of the file.
var content:String=stream.readUTF();
var wordArray:ArrayCollection=new
ArrayCollection(String(content).split('\r\n'));
for each(var word:String in wordArray)
{
WordDelegate.loadWord(word);
}
The last time I did something similar was in C++, where you basically read the
file character by character. I don't quite know how to do this in flex. Any
englightenment on the issue would be greatly appreciated.
-b
Bayani Portier Guest
-
.exe files reading from text
Hi there, i work for a company that uses audience response technology, please see www.ezicomms.com We do all sorts of things but i would like... -
Reading text files on client?
Because of security concerns of my company, I anticipate that they won't let me allow users to upload, then read, then delete a text file. Is there... -
reading & saving text to files
Has Flash MX 2004 improved text handling? I have an application where I need to read in email newsletters (text), encode it and then display it to... -
Reading from / Writing to text files out of Flash
Does anyone know a Flash sample which reads and/or writes something to/from a text file? I read somewhere that this is possible in general but never... -
reading contents of text files to a form
hello sir i want to read 3 text files which are output of 3 programs/tools that are run. i want to read them and enter the values of the text...



Reply With Quote

