package
{
import flash.display.Sprite;
import flash.text.*;
public class TextWithImage extends Sprite
{
private var myTextBox:TextField = new TextField();
private var myText:String = "Hello World";
public function TextWithImage()
{
addChild(myTextBox);
myTextBox.text = myText;
}
}
}
d:\AIR> path D:\AIR\flex_sdk_4.1.0.16076\bin
d:\AIR> mxmlc TextWithImage.as