Copy link to clipboard
Copied
I was reading some documentation and for I understand it is possible to have the as files separate from the fla files. Does this mean that I can have like a template that hold the as3 code and just add objects and save it with a different name every time then creating the same kind of movie without having to retype the code?
thanks,
Arofa
Yes, you could take that approach. A .as file is generally an ActionScript class and you can use it to represent the main stage if it extends the MovieClip class. Then, if you had the same objects on the stage, with the same instance names in each .fla variation, you would just apply that .as file as the root class. Note that there is the high probability of compile errors if objects are missing or named differently from project to project.
Copy link to clipboard
Copied
Yes, you could take that approach. A .as file is generally an ActionScript class and you can use it to represent the main stage if it extends the MovieClip class. Then, if you had the same objects on the stage, with the same instance names in each .fla variation, you would just apply that .as file as the root class. Note that there is the high probability of compile errors if objects are missing or named differently from project to project.
Copy link to clipboard
Copied
Thank you so much. I have seen some of your examples really good job.
arofa
Find more inspiration, events, and resources on the new Adobe Community
Explore Now