Skip to main content
Known Participant
March 24, 2014
Question

AS3 flash for android

  • March 24, 2014
  • 1 reply
  • 734 views

How to save data to a text file with AS3 flash for android?

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
March 24, 2014

use the file class.

Known Participant
March 24, 2014

how ? I dont know ..

kglad
Community Expert
Community Expert
March 25, 2014

:

import flash.filesystem.File;

var file:File = File.applicationStorageDirectory;

file = file.resolvePath("text/");

file.save(sometextfield.text);