Skip to main content
markerline
Inspiring
August 25, 2013
Question

write/read actionscript array to/from file for use in actionscript

  • August 25, 2013
  • 1 reply
  • 645 views

Hi.  I've managed to create an array that I can use while the SWF is open.

However, how do I go about saving this array to a file that I can later open with my SWF and read back into the SWF so that I can do something like play back a sound sequence that has been created in the initial SWF array?

This topic has been closed for replies.

1 reply

markerline
Inspiring
August 26, 2013

After having found some good resources it seems that this sort of thing cannot easily be done within Flash itself but rather more easily with the packages available to AIR using Flash Builder or Flex

Ned Murphy
Legend
August 26, 2013

AIR is available with Flash, so you could work it thru there.  If you plan to implement this as a locally installed desktop application, that would be the way to go.

As far as "easily done" goes, that's more relative to experience than accessibility.  While it is not extremely difficult to do, especially if you have a good tutorial to work with, it is not a simple thing to comprehend without a reasonable level of experience. 

If this is something you plan to have ionline, you could probably do this just as easily using server-side processing (PHP), possibly even just relying on the SharedObject class, but even the complexity will vary depending on how you really intend to utilize/present the finished design.