title: What does 1071: Syntax error indicate and how do I resolve this code?
body: <p>I'm going through tutorials on dynamic classes.  The concept is really exciting and interesting to me.</p>
  
  <p>However this code isn't compiling correctly</p>
  
  <pre><code>dynamic class Person {
  var name:String;
  }
  
  Person p= new Person();
  p.name=”Joe”;
  p.age=25;
  p.printMe = function () {
  trace (p.name, p.age);
  }
  p.printMe(); // Joe 25
  </code></pre>
  
  <p>I get a 1071 syntax error.</p>
  
  <p>What gives?</p>