• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 364
  • 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?
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

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