# .swf to .svg?

**URL:** <https://forum.kirupa.com/t/swf-to-svg/316055>\
**Category:** flash\
**Created:** [November 11, 2010, 1:08pm UTC](https://forum.kirupa.com/t/swf-to-svg/316055 "2010-11-11T13:08:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Esseti](https://avatars.discourse-cdn.com/v4/letter/e/bb73d2/32.png) [@Esseti](https://forum.kirupa.com/u/Esseti)\
**Post date:** [November 11, 2010, 1:08pm UTC](https://forum.kirupa.com/t/swf-to-svg/316055/1 "2010-11-11T13:08:31Z")

</div>

Does anyone know a way to export the visible contents of a .swf into a .svg file? For instance, if I write AS to generate a vector square on the stage, publish it to .swf, can that square be later exported as a .svg file?

I know that it is possible to export a bitmapData as ByteArray, and use a php file to translate it into pixels, but is there a method to draw vectors in a .svg file?
