Too much code?

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!