# AS code eating up a lot of space

**URL:** <https://forum.kirupa.com/t/as-code-eating-up-a-lot-of-space/332674>\
**Category:** Uncategorized\
**Created:** [September 22, 2014, 11:35pm UTC](https://forum.kirupa.com/t/as-code-eating-up-a-lot-of-space/332674 "2014-09-22T23:35:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lazerbrains](https://avatars.discourse-cdn.com/v4/letter/l/b19c9b/32.png) [@lazerbrains](https://forum.kirupa.com/u/lazerbrains)\
**Post date:** [September 22, 2014, 11:35pm UTC](https://forum.kirupa.com/t/as-code-eating-up-a-lot-of-space/332674/1 "2014-09-22T23:35:41Z")

</div>

I am creating a banner ad, and it needs to be 40K. I have only 4 images in it, and they are highly compressed. When I render it out, my .swf ends up being 50K. I am trying to compress it further, so I generated a size report form Flash to let me know what was taking up space.

It tells me:

ActionScript Bytes Location

* * *

```
         39393 Scene 1:Frame 1

```

Does this mean the Actionscript alone is taking up nearly 40K?

What can I do to minimize this file further?
