# Classes Problem

**URL:** https://forum.kirupa.com/t/classes-problem/307897
**Category:** flash
**Created:** [April 13, 2010, 6:58am UTC](https://forum.kirupa.com/t/classes-problem/307897 "2010-04-13T06:58:15Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![trumpet](https://avatars.discourse-cdn.com/v4/letter/t/b4bc9f/32.png) [@trumpet](https://forum.kirupa.com/u/trumpet)
#### Post date: [April 13, 2010, 6:58am UTC](https://forum.kirupa.com/t/classes-problem/307897/1 "2010-04-13T06:58:15Z")

</div>

Hi,  
My name is John and I’m posting in this forum for the first time. I have superficial knowledge on AS and I was wanting to increase my knowledege on the same.

I was following the article “Classes in Actionscript 3” on your site , I followed the steps given (creating the FLA and AS file) and also pasting the code into the FLA file, but when I export the movie to test the code, I get the following error messages in the compiler window

1046: Type was not found or is not a compile time constant  
1180: Call to a possibly undefined method

I have no idea as to what to trouble shoot (as I am learning the basics of classes etc), I had a peep into the compiler error messages but didn’t really help.

Could someone guide the way ?
