Sascha Balkau wrote:
Ok but it there a way to get the name of the variable that is reffering
to the object? First I thought eval() could be used for that but it
seems not.
There is no "one" variable holding the name of an object. If your idea
is something along a trace-function:
function trace(o:Object):String {
// return name of object here
}
trace(foo_object);
Then one could argue, that both "foo_object" and "o" would be proper
names of the variable holding the object - as there is many references.
Couldn't you rather explain, what you were trying to accomplish - then
maybe we could understand and help?
--
Morten Barklund - Information Architect - Shockwaved
Gothersgade 49, 4th floor - DK-1123 Copenhagen K, Denmark
Phone: +45 7027 2227 - Fax: +45 3369 1174
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders