# \[CS3\] how to script: save drawing on swf, then reload to draw again

**URL:** https://forum.kirupa.com/t/cs3-how-to-script-save-drawing-on-swf-then-reload-to-draw-again/227119
**Category:** flash
**Created:** [May 27, 2007, 8:43am UTC](https://forum.kirupa.com/t/cs3-how-to-script-save-drawing-on-swf-then-reload-to-draw-again/227119 "2007-05-27T08:43:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ivaninkirupa](https://avatars.discourse-cdn.com/v4/letter/i/e79b87/32.png) [@ivaninkirupa](https://forum.kirupa.com/u/ivaninkirupa)
#### Post date: [May 27, 2007, 8:43am UTC](https://forum.kirupa.com/t/cs3-how-to-script-save-drawing-on-swf-then-reload-to-draw-again/227119/1 "2007-05-27T08:43:02Z")

</div>

i’m working on a class project that allows people to draw on a square, save it, display it for others to see, and then lets anyone to continue drawing on that square.

how do i script that? i need to use flash and AS2.0, and i’m trying to do some research on how to do this whole thing, and i’m hearing a lot of things: some say xml, some with php and mysql? whatever it is, i believe this has to be a server-side thing? i don’t mind learning light scripting of other languages, but the primary scripting should be AS, since it’s a flash class.

i’m not sure if this is true, but i think xml, php, and mysql are only text-based? for my project, i imagine that people would be saving an swf and then loading that swf and continue adding. is there a script in AS that generates an swf? maybe jpg is fine too. i just need to be able to save and load something that’s image based and not text-based.

thanks ahead of time!
