Re: AS code fragmentation?
[email protected] (Wolfgang Hamann) Fri, 5 Dec 2003 14:22:32 +0100 (CET)
| Newsgroups | gmane.comp.web.ming.general |
|---|---|
| Message-ID | <wolfgang-1031205142232.A0A12715@loopback> |
Hi Laurent, a function definitely is a piece of code that cannot be split. You can, of course, reorganize your code to utilise subfunctions I do not know whether there is an actual advantage from grouping code by related movieclip, other than organizing your work. Of course, with a system that makes it hard to edit all your code at once, or to globally replace variable names, proper grouping of code might be more important that with a system where all code more or less resides within a single text file >From the point of view of performance, there might be a slight penalty for using 1000 distinct variables within a single function, as opposed to splitting the function into a few smaller ones WOlfgang