# Export a .swf From a .swf During Runtime?

**URL:** https://forum.kirupa.com/t/export-a-swf-from-a-swf-during-runtime/299606
**Category:** flash
**Created:** [November 7, 2009, 10:44pm UTC](https://forum.kirupa.com/t/export-a-swf-from-a-swf-during-runtime/299606 "2009-11-07T22:44:53Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jebego](https://avatars.discourse-cdn.com/v4/letter/j/e480ec/32.png) [@jebego](https://forum.kirupa.com/u/jebego)
#### Post date: [November 7, 2009, 10:44pm UTC](https://forum.kirupa.com/t/export-a-swf-from-a-swf-during-runtime/299606/1 "2009-11-07T22:44:53Z")

</div>

I’m looking for a method to create and save a .swf file from a currently open .swf file while the second of the two is running.

My overall goal is to, with the click of a button, create a .swf that contains a certain MC that was already in the first .swf, then save the second .swf in a directory on a server that I have. I’m guessing it takes some server-side-scripting like php.

I don’t know if this really makes much sense, it’s kinda hard to explain, so please ask any clarifying questions you might need.

I’m mainly looking for a direction to get going in, maybe a link? Thanks!
