|
Re: AS code fragmentation?: msg#00021web.ming.general
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 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | per frame AS limitations: 00021, Laurent Cocea |
|---|---|
| Next by Date: | Embedding mp3: 00021, Darren Cook |
| Previous by Thread: | Extending SWFButtoni: 00021, Simon Harris |
| Next by Thread: | per frame AS limitations: 00021, Laurent Cocea |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |