I use

oListener:Object;
bIsReady:Boolean
sText:String;
tf:Textfield;
mcHolder:MovieClip;
mcl:MovieClipLoader;

Yeah I don't think prefixes are recognized elsewhere but it takes a
bit of effort to type _ (underscore) because it's out of the way for
me

Mon

On 2/2/06, Bjorn Schultheiss <[EMAIL PROTECTED]> wrote:
> listener_obj
> answer
>
> I hate mcImage, I don't think that prefix is recognized in any dev app.
> I know image_mc works in Flash and I think sepy for code hinting
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Ford
> Sent: Thursday, 2 February 2006 12:53 PM
> To: flashcoders@chattyfig.figleaf.com
> 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
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>


--
Ramon Miguel M. Tayag
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to