Naming conventions don't matter. What matters is whatever you pick, be consistent.
----- Original Message ----- From: "Stephen Ford" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, February 01, 2006 8:53 PM Subject: [Flashcoders] Naming conventions for AS2.0 ... Does anyone have an opinion, or a preferred method, in regards to naming conventions for AS2.0 objects ? For example, Macromedia recommends: clip_mc (movie clip) comm_lc (local connection) names_array (array) beep_sound (sound) field_txt (text field) etc, etc, etc but what if I wanted to use an generic object or a boolean datatype: listener_???:Object = new Object(); answer_???:Boolean = false; These are just two datatypes Macromedia doesn't list in terms of suffixes (search for 'About using suffixes to trigger code hints' in the official Flash help documentation built into Flash). So another technique I have seen is prefixing variables, like: mcClip (movie clip) lcComm (local connection) aNames (array) etc, etc, etc Someone must have a foolproof way to do this, there must be a technique that covers all possibilities for naming variables ??? Thanks, Stephen. _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

