# \[F8\] Displaying the contents of an Object

**URL:** <https://forum.kirupa.com/t/f8-displaying-the-contents-of-an-object/182386>\
**Category:** flash\
**Created:** [March 17, 2006, 6:05pm UTC](https://forum.kirupa.com/t/f8-displaying-the-contents-of-an-object/182386 "2006-03-17T18:05:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Psykloak1](https://avatars.discourse-cdn.com/v4/letter/p/7ab992/32.png) [@Psykloak1](https://forum.kirupa.com/u/Psykloak1)\
**Post date:** [March 17, 2006, 6:05pm UTC](https://forum.kirupa.com/t/f8-displaying-the-contents-of-an-object/182386/1 "2006-03-17T18:05:10Z")

</div>

Hey.

If I set an object like this:

```auto
	var dat:Object = new Object();

```

And set variables within it like this:

```auto
	dat.size=5;
	dat.open="asdf";

```

Is it possable to print them like this:

```auto
	trace(dat);//its not

```

instead of like this:

```auto
	trace(dat.size+" "+dat.open);

```
