title: Creating text in AS3
body: <p>I followed this tutorial in order to get a better understanding of classes found <a href="http://code.tutsplus.com/tutorials/as3-101-oop-introduction-basix--active-5789" rel="nofollow">here</a>.</p>
  
  <p>I did everything correctly up to step 10, but when I went to export the SWF I got a blank screen. I get an error in the compiler that says "expecting identifier before dot."</p>
  
  <p>I don't know what this means but you can download my files and take a look and hopefully give me an answer, thanks!</p>
  
  <p>Here is my code : </p>
  
  <pre><code>package {
  
      import flash.display.MovieClip;
      import flash.text.TextField;
      import.text.TextField;
  
      public class documentclass extends MovieClip 
      {       
          public function documentclass() 
          {
              // constructor code
              var tf:TextField = new TexfField();
              addChild(tf);
              tf.text = "Hello Wrold";                
          }
      }
  
  }
  </code></pre>