# OOP tracing object name

**URL:** <https://forum.kirupa.com/t/oop-tracing-object-name/71960>\
**Category:** flash\
**Created:** [December 1, 2004, 2:04am UTC](https://forum.kirupa.com/t/oop-tracing-object-name/71960 "2004-12-01T02:04:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jubba](https://avatars.discourse-cdn.com/v4/letter/j/90ced4/32.png) [@Jubba](https://forum.kirupa.com/u/Jubba)\
**Post date:** [December 1, 2004, 2:04am UTC](https://forum.kirupa.com/t/oop-tracing-object-name/71960/1 "2004-12-01T02:04:21Z")

</div>

I’m trying to create an object and I want to return the name of the object.

```auto
Card = new Object();
As = new Card();
As.name = "Ace";
As.suit = "spades";
As.value = "13";

```

Now how would I get it to return and trace “As”, the name of the new Card?
