I just noticed my size report includes the following:
ActionScript Bytes Location
------------------ --------
294323 ActionScript 3.0 Classes
This seems like a lot for what is essentially byte code. I’m not using any images. I have vector art in there but it’s mostly straight line geometric stuff, no complicated wiggly art or anything. I’m not using any Components.
My entire codebase comes in at 167k of Actionscript. So how can I be using 294k of byte code?
A lot will come from libraries that you’re using in your code. Especially if you’re using third-party libraries. For example, I used a system called Eyeblaster that is used to develop online advertisements with functionality such as interchangeable assets, clickthrough tracking, expandable banners and so on.
Just by adding the following to my first frame in the timeline:
I already end up with: