Solved

Maximum number of lines of code per frame

Posted on 2004-08-03
7
356 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
ID: 11708574
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
ID: 11711119
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
ID: 11719371
What errors does the flash debugger give out when u try to build the file into swf?
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 39

Author Comment

by:blue-genie
ID: 11723752
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
ID: 11728948
sounds like there may be something wrong w/ the code
0
 
LVL 2

Assisted Solution

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

Author Comment

by:blue-genie
ID: 11807644
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

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

832 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