• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 366
  • Last Modified:

Maximum number of lines of code per frame

Hi ppl.

A colleague of mine is experiencing some wierd problems, he's got hundreds of lines of code (he refuses to rewrite it) -  but it seems that there's a limit to the number of lines of code he can have on a frame, before it goes wonky.

Any one experience something similar?

Is there such a limit?
3 Solutions
I've been developing in Flash since version 4 and I have never experienced a problem because of too many line of code in 1 frame.
We came across something similar to that with flash mx 2004 where there is a limit to an as file.  I would assume that is similar to just scripting in a frame.   But as to a problem with "hundreds" of lines of code,  hmmm that sounds fishy.  I had to creat a game written all in one frame published for flash 5 with over 3000 lines of code, and didn't have a problem.  I don't see why hundreds would be.  What version of Flash?  If MX 2004 does he have the 7.2 update (highly recommended).  And if all else failes... I suggest a cut and paste rebuild.  I have had a couple of Fla's go bad for some reason, but that is rare.

What errors does the flash debugger give out when u try to build the file into swf?
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

blue-genieAuthor Commented:
i don't get any error msgs. things that start being able to be dragged around, or things just freeze or things work sometimes and not others.
sounds like there may be something wrong w/ the code
maybe the processor can't handle all the instructions?
blue-genieAuthor Commented:
i suspect the code isin't great, but he refuses to rewrite it. He's using a number of case statements.
Oh well, you can take a horse to the water and all that!

ta peeps.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now