Chapter 17 Example 4

by actionscriptbible
♥0 | Line 11 | Modified 2009-06-28 06:09:34 | MIT License
play

ActionScript3 source code

/**
 * Copyright actionscriptbible ( http://wonderfl.net/user/actionscriptbible )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/jIB3
 */

package {
  import com.actionscriptbible.Example;
  import flash.text.TextField;
  
  public class ch17ex4 extends Example {
    public function ch17ex4() {
      var tf:TextField = new TextField();
      tf.htmlText = "< > & " '";
      trace(tf.text); //< > & " '
    }
  }
}