package { import flash.display.DisplayObjectContainer; import flash.display.Sprite; import flash.text.TextField; public class DisplayListExample extends Sprite { public function DisplayListExample( ) { var hello:TextField = new TextField( ); hello.text = "hello"; addChild( hello ); } } }