Question about Object Instance Names
Hi,
I'm really fascinated at the moment by object instances. By that, I mean the value returned by:
trace(e.target.name); (tried on a MouseEvent object)
or
trace(myTextField.name); (on a textField object).
In my Flash application, I notice that tracing the name of an event object returns "instance26", indicating that this is the 26th (or 27th depending on the base of indexing) object created since the app initialized. Basically what I'm curious about is, firstly, is this instance value subject to change when the app is ported to other platforms (if different versions of the Flash player process instructions in a different order or fashion) and secondly, how can I find what object contains "instance0" or (if the instance indexing begins at base 1), "instance1"?
If anyone has any comments to make, they'd be much appreciated. Thanks a lot.
Kind Regards,
Jay.