# Trace

**URL:** <https://forum.kirupa.com/t/trace/321202>\
**Category:** Uncategorized\
**Created:** [April 13, 2011, 11:04am UTC](https://forum.kirupa.com/t/trace/321202 "2011-04-13T11:04:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![12abhi12](https://avatars.discourse-cdn.com/v4/letter/1/9f8e36/32.png) [@12abhi12](https://forum.kirupa.com/u/12abhi12)\
**Post date:** [April 13, 2011, 11:04am UTC](https://forum.kirupa.com/t/trace/321202/1 "2011-04-13T11:04:17Z")

</div>

I am extremely new to as3 and just have started coding in as3. I have the following code in a001.as file

```auto

package {

	import flash.display.Sprite;

	public class FirstCode extends Sprite {

		public function FirstCode() {

			trace("yes");

		}

	}

}

```

It seems extremely simple and I feel very positive that there is no error in this code.

And this line in a001.fla

```auto

import as3.a001;

```

The .as file is in as3 folder so I think the import should work fine.

The one (and only) problem (that could arise) is that the trace leaves nothing in the output window.

I tried various other codes instead of this but to no avail. None work. Its just a blank screen.  
This problem is actually taking me to the verge of hating as3. I am stuck on this for days and none of the solutions I saw seem to work for me. Any help would be appretiated.

By the way I have Flash CS4.
