Surely using dynamic instance names can be faster than using array lookup in some "instances"?

For example, I have a number of movieclip classes, I don't want to extend their functionality by subclassing, so instead of adding an "id" property, I derive the id from the instance name - "btn_0", "btn_1", etc. Messy, but works in some instances and is a case of GTD, no?

I may be wrong of course ;)
I am more concerned with people who insist on dynamic instance names instead of arrays.
_______________________________________________
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

Reply via email to