hi,

this might be obvious but how do I get the name of an object? If I got an object named fooObj how can I get Flash to for example trace out the name of the object, so that it traces "fooObj"? I know this works with movieclips but how about objects or arrays?

Objects or arrays don't have a name. That is: you could have a variable fooObj referring to some object O, and you could set another variable barObj to refer to the same object. The object O is completely independent of the variables referring to it. For that matter, an object held in an array doesn't even have a variable name referring to it. So unless you set up some kind of convention of your own, the request doesn't really make much sense.

Danny
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to