ive recently developed alot of flash programs and i need a hand figureing out this stuff.

1- Ive made a games system, I was wondering how people could upload different game files, like an extension.

2- Ive recently made a Sidebar, and I was wondering how i would make it that everytime you closed it it saved its data to a file, and you were able to upload new gadgets.

3- how do i save all changes to editboxes, element positions and stuff.

4-How do i save all changes to a file outside the flash file.