Solved

Maximum number of lines of code per frame

Posted on 2004-08-03
7
354 Views
Last Modified: 2012-06-21
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?
0
Comment
Question by:blue-genie
7 Comments
 
LVL 3

Assisted Solution

by:andrey_2007
andrey_2007 earned 50 total points
Comment Utility
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.
0
 
LVL 1

Accepted Solution

by:
backbaychef earned 50 total points
Comment Utility
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.

--BackBayChef
www.backbaychef.com
0
 
LVL 3

Expert Comment

by:andrey_2007
Comment Utility
What errors does the flash debugger give out when u try to build the file into swf?
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 39

Author Comment

by:blue-genie
Comment Utility
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.
0
 
LVL 3

Expert Comment

by:andrey_2007
Comment Utility
sounds like there may be something wrong w/ the code
0
 
LVL 2

Assisted Solution

by:snoldak924
snoldak924 earned 25 total points
Comment Utility
maybe the processor can't handle all the instructions?
0
 
LVL 39

Author Comment

by:blue-genie
Comment Utility
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.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now