New to Flash
-
I'm going through a Flash tutorial and comparing it against a Flash program we have received from a 3rd party. Within the 3rd party package there are separate files that contain code. The .fla file only appears to contain movie clips, jpegs, and etc. In the tutorial file it appears the code is layered in the .fla file. My question is do flash developers alter the .fla files to hide code from end users, or is the .fla file just structured differently? I'm leaning towards an altered .fla file and only by accessing the .as files directly through the code folder, seeing I cannot find any code by going through the .fla file. Thanks for any help in advance.
-
I'm going through a Flash tutorial and comparing it against a Flash program we have received from a 3rd party. Within the 3rd party package there are separate files that contain code. The .fla file only appears to contain movie clips, jpegs, and etc. In the tutorial file it appears the code is layered in the .fla file. My question is do flash developers alter the .fla files to hide code from end users, or is the .fla file just structured differently? I'm leaning towards an altered .fla file and only by accessing the .as files directly through the code folder, seeing I cannot find any code by going through the .fla file. Thanks for any help in advance.
It's just structured differently. What if you had a 10,000 lines of code that converted text into speech, and you wanted to implement that cool functionality into a number of projects? Are you (a) going to copy/paste/fix the code into each new project, or are yopu going to (b) trty to put it into a library that you can re-use? Separating the code from the content allows for (a) cleaner/clearer coding practices & (b) ease of reuse.
-
It's just structured differently. What if you had a 10,000 lines of code that converted text into speech, and you wanted to implement that cool functionality into a number of projects? Are you (a) going to copy/paste/fix the code into each new project, or are yopu going to (b) trty to put it into a library that you can re-use? Separating the code from the content allows for (a) cleaner/clearer coding practices & (b) ease of reuse.
The library idea makes complete sense. It's used in other languages. Perhaps I'm not sure how to navigate thru the flash editor yet, but the library seems to only be filled with jpegs, movie clips, and etc. Is there a special section I should be looking in that I am just passing over?