Save flash File from Flash application

Can any one kn ow how to create a swf file from flash application.

I want some help from flash expert who can guide me in creating the flash application.

The flash application will have some panel which can contain some shapes and sizes. It will also have some motion button like left, right, top or bottom.

I have created the panel in flash where I can drag and drop the object and set that object for some motion like left or right.

I can even play that created objects with motion.
Now I want a save control in my flash application from which I can save the object which I have created.

Can any one help me in solving the problem.

It little urgent. Your help or hint will allow me to go ahead further in my project.

Thanks.