title: How Actionscript 3 Classes Work
body: <p>I need a little help understanding how classes work in Actionscript 3. I understand you start with "package" and why and then go to import any necessary libraries, as well as then naming the class and stating if it's public/private and extends anything. </p>
  
  <p>After that is what I don't understand. It seems you write "(public) function <em>class name</em>()</p>
  
  <p>I don't understand why you do this and what goes in the curly brackets.</p>
  
  <p>I've probably missed a bit of earlier reading because I've done a little reading but I can't seem to get it.</p>
  
  <p>Could someone try explain it to me? Thanks.</p>