Skip to main content
Known Participant
February 27, 2015
Answered

Best way to save and load MovieClips in As3?

  • February 27, 2015
  • 1 reply
  • 461 views

Hello I'm trying to figure out the best way to save multiple Movieclips when the app closes, and load them back when the app opens???? PLZ!!

This topic has been closed for replies.
Correct answer Ned Murphy

You cannot physically add content to an swf file such that you return and find what you created still exists.  You have to store the information relative to such new content in some external storage medium (cookie, database, xml file, etc) and then use that information to rebuild that content when you reopen the file.

1 reply

Ned Murphy
Ned MurphyCorrect answer
Legend
February 27, 2015

You cannot physically add content to an swf file such that you return and find what you created still exists.  You have to store the information relative to such new content in some external storage medium (cookie, database, xml file, etc) and then use that information to rebuild that content when you reopen the file.

fi500005Author
Known Participant
February 27, 2015

Thank you Ned, in short you mean serialize and reconstruct the movieclip. and would recommend using filestream?