Hi,
ok thanks, so let me get this right, a clip in the library can be called eg
MC_Foo and on stage its called MC_Foo as well, with caps?

And when you reference to this clip from a class or movieclip subclass, do
you create an additional field for it (eg myMC_Foo) and copy the reference,
or do you simply refer to MC_Foo through out the class?

A proposal currently going through our organisation is mc_foo for library
and foo_mc for stage and its -very- confusing imo, but yours might be a good
solution to the problem ;)

thanks
JC




On 5/10/07, Steven Sacks <[EMAIL PROTECTED]> wrote:

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

_______________________________________________
[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