0

Writing text to .txt files using actionscript. how? i couldn't find anything about that in the internet. is that possible? for flash player.

3 Answers 3

1

The flash player (the one in browsers) is run through a sandbox which prevents it from accessing or creating files on the users computer (imagine the chaos if it wasn't!), among other things.

You can store persistent data using SharedObject (but this is not readily visible to the user, only useful for storing settings etc).

The other options is to send the data to a web service which in turn would allow the user to download it. Those are your only options really.

Adobe Air is a different runtime, designed to be used for desktop applications. Eg like any program on your computer. It can do a lot more, but has to be downloaded and possibly installed before you can run it (it will not run from within a HTML page).

Sign up to request clarification or add additional context in comments.

2 Comments

can you give me some info about that SharedObject?
1

Check out Adobe AIR: http://www.adobe.com/devnet/air/flash/quickstart/articles/building_text_editor.html

1 Comment

is that possible for flash player?
1

That's impossible from flash player, only from air.

4 Comments

what does that mean? :D srsly, what's the difference?
Flash player is a broswer plugin for flash content on the Internet basically, Adobe Air is for desktop/mobile applications. This is basic stuff, man
if i have an application written for flash player, is it ok to export it as air application?
do flash player and air share libraries?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.