# Controling publish settings with actionscript?

**URL:** <https://forum.kirupa.com/t/controling-publish-settings-with-actionscript/222862>\
**Category:** flash\
**Created:** [April 17, 2007, 4:15pm UTC](https://forum.kirupa.com/t/controling-publish-settings-with-actionscript/222862 "2007-04-17T16:15:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fanboy](https://avatars.discourse-cdn.com/v4/letter/f/ce73a5/32.png) [@fanboy](https://forum.kirupa.com/u/fanboy)\
**Post date:** [April 17, 2007, 4:15pm UTC](https://forum.kirupa.com/t/controling-publish-settings-with-actionscript/222862/1 "2007-04-17T16:15:02Z")

</div>

I was wondering if it was possible to specify the output name of my SWF file in actionscript. That would be practical if I have to make a set of SWF files with small variations.  
I googled around, and browsed the flash help, but all I could find until now was the function exportSWF(). But I have no idea how to use it.

Can anybody give me some advice on this matter?  
Thanks.
