This assignment was relatively short and quick to accomplish, however it introduced multiple new concepts of Action Script 3.0 functionality. The class was tasked with using more than one Action Script file to get the stars to appear on the stage and act independently from other actions on the main Action Script file. I could see how this can be an incredibly powerful tool to use for our final game project at the end of the semester.
I understand that every Movie Clip in a library can have its own Action Script class that can be utilized in a separate Action Script file altogether. However, I do not understand how the interaction works between the main Action Script file (in this case, Framecounter) and the Action Script file that controlled the Star Movie Clip (in this case, Star). For example, I had problems getting the star to have a random size, alpha, and placement on the stage. I later found out that, to accomplish this, I had to put the descriptions of the var W, X and Y on the Framecounter AS file rather than the Star AS file. Additionally, I had to include the letters W,X,Y inside the function for star on the Framecounter AS file rather than on the Star AS file. This was not intuitive to me when I first approached this assignment, and I wonder what other interaction between MovieClip class AS files and their Main AS files will be in the future. Below is a screenshot of my Framecounter AS file for clarification of what I mean. Additionally, to observe what my code accomplishes, check out the SWF here.