import flash.text.TextField; var tf:TextField = new TextField(); tf.text = stage.loaderInfo.url; tf.width = stage.stageWidth; addChild(tf);