# Too much code?

**URL:** <https://forum.kirupa.com/t/too-much-code/274789>\
**Category:** flash\
**Created:** [November 4, 2008, 9:02pm UTC](https://forum.kirupa.com/t/too-much-code/274789 "2008-11-04T21:02:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![severusofdonwel](https://avatars.discourse-cdn.com/v4/letter/s/b5ac83/32.png) [@severusofdonwel](https://forum.kirupa.com/u/severusofdonwel)\
**Post date:** [November 4, 2008, 9:02pm UTC](https://forum.kirupa.com/t/too-much-code/274789/1 "2008-11-04T21:02:15Z")

</div>

Alright, I just finished a website. I built it in several parts and then put it all together. It’s basically entirely actionscript, with just a few movieclips on the stage. I have 58 000 lines of code… this may seem crazy, but 50 000 of it are functions for various tweens-- I have 100 objects that will all be interacting differently with eachother when each one is clicked…

Anyway, at 30 000 lines of code Flash will compile the movie-- however it takes nearly two minutes… but when I put it all together-- it’s as if Flash can’t handle it, it gives up after 15 seconds and I just see the blank stage with the movie clips on it with no interaction and there are no errors.

Is the problem that I have too much code? How can I solve this? I began by splitting it up into two different .swfs – but that’s just proving to be more of a hassle than it’s worth… what can I do? I really just wish it would take an extra 5 minutes or whatever and compile it all.

Any help or advice? Please, please!
