views:

70

answers:

0

I am trying to push in the Google Analytics library into my As3 widget. I plan to use the EventTracking feature in addition to the regular HTML-like pageview tracking that it provides. I plan to use the library in As3 mode (not the Bridge mode) since the widget is embedded on a lot of external domains.

Using the SWC to add the component to my project adds about 50k in file size. And my widget in itself is a very painstakingly achieved 120kb. I cannot afford the 50k overhead and every KB trimmed takes me closer to actually using GA with my player.

I got the code down from http://gaforflash.googlecode.com/svn/trunk/ and am trying to figure out any libraries that I can weed out to save file size, yet retain core functionality.

Any tips/pointers on where to go with this?