I use the following naming conventions for both library and instance.

MC_Foo for movieclips

BTN_Foo for buttons or movieclips that behave as buttons

GR_Foo for Graphic Symbols

FONT_Foo for font symbols and their linkage IDs

VID_Foo for Video symbols, not for instances, though


I use the following instance names for items that have no library item associated with them.

TXT_Foo for dynamic text fields

INP_Foo for input text fields

CMB_Foo for combo boxes

RB_Foo for radio buttons
RBG_Foo for radio button groups

SP_ for scrollpanes

FLV_Foo for FLV players

etc.  You get the idea.

My naming convention is 100% dedicated to code readability. At a glance, I can identify movieclips, textfields, components, etc. apart from eachother and from variables. It makes them stand out very well and makes debugging so much faster when I don't have to go hunting for anything.

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to