Hi,
Stupid question, but...
Let's say I have some class properties:
private var _mc1:MovieClip;
private var _mc2:MovieClip;
... and methods:
private function baz():void { ... }
private function foo():void { ... }
In my code, would it be overkill to always reference the above
examples with a prefix of "this"?
For example:
this._mc1 = ...;
this._mc2 = this.mc1;
this.baz();
this.foo();
I could easily do this instead:
_mc1 = ...;
_mc2 = mc1;
baz();
foo();
Sorry if silly question, I am just kinda wondering what the pros do. :)
Best practices?
Thanks!
Micky
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders