external code
external code
Out of context: Reply #12
- Started
- Last post
- 13 Responses
- unfittoprint0
yes. but you would have to do the same for every code change with the FLA.
attn for AS1.0 coders:
#1 I advice the use of external .as mostly for prototypes and global funcions/vars.
[The rest of the actionscript should be handled within the FLA.]#2 Create a folder within your projects to put all the .as and in your first frame use a line like:
#include "classes/mcFade.as"
#remember: that if we're talking about globals and prototypes, only the main movie is required to have the includes/compile the .as.
That's the beauty of it - all the other files will have less code, you'll don't have to write it over and over, they'll be smaller in size, a small change in the .as will affect the entire project.