There’s an undocumented addFrameScript method within that’s part of the MovieClip class. Apparently some people use that method to omit writing any code within frames in the timeline and put all their code in a single, separate .as file (ex. Maintimeline.as).
I feel the actual frames and the shapes and objects in them lose their physical significance when you decouple the code from them and put them in another file.
Is this method ever preferred and are there any practical examples where this is commonly done?
I wrote an article about a year ago about how to keep all your “timeline goodness,” yet still use good OOP practice as described by Creynders and Mr./Ms. Sausages http://www.developria.com/2010/04/combining-the-timeline-with-oo.html . I did a presentation for the Atlanta Flash and Flex User Group, including files, based on that article, that you can check out here http://www.meetup.com/atlflex/files/ .