parvez
parvez

Reputation: 356

How to access text file using AS3?

Is there a way of writing data into a text file without using AIR components in AS3 using flash. The save method of fileReference class opens up a file selection dialog box. Cant that method directly write data into some file withot opening he dialog ? Thanks in Advance

Upvotes: 0

Views: 1233

Answers (1)

turbosqel
turbosqel

Reputation: 1542

There are 3 ways to save file from Flash :

In AIR : use File class , You can manipulate files without user intervention .

In FlashPlayer : you can use FileReference class but for this user much choose in browse window where to save data

or You can use some proxy application and connect it via socket or local connection .

Upvotes: 1

Related Questions