Thanks GWD, good information to know. Does AS3 have the same
bytecode limit?
The project itself doesn't really have more than 5k or so
lines of code in total, between 2 classes. 3.5k in one, 1.5k in
another. When I say a frame hits around 5-6k lines of code, I count
loops. I do tons of code over and over and over. One function is
frighteningly big spanning about 500 lines of code. Though it's a
large branch that could be broken into 3 functions. Only one of 3
parts of the huge function fire off, but those parts are over a
hundred lines each. They generally dynamically create movieclips
and configure them, but sometimes end up doing it 100 times, which
is easily 10k lines of code or more.
On the part that it fires off that much code it really
doesn't matter if it bogs. I planned on certain parts of the code
taking a second.
Though this development machine is a dual quad core rig (8
cores, 24ghz total, 8gb ram, 2TB 10k drives, openGL card, yada) so
I don't notice any bogging. Even on the little p4 2.53ghz old
533fsb machines with ddr400 I don't notice even a hint of lag. This
is what made me wonder how many lines of code is starting to push
the limit on one frame.
I could do as you suggested, and have already, but found that
using the timeline was just as appealing. Programatically I'm happy
to remove some of the lengthy code from the .as files and place it
elsewhere (rather than create another class for one small purpose).
But I wonder what the ceiling is.
And I've never noticed that setting in publish settings. Is
it for AS2 that I can configure this script warning?