trace out a message: the value of a variable, or just about any other data using trace
package {
import flash.display.Sprite;
publicclass Main extends Sprite {
public function Main( ) {
var userName:String = "Bill Jack";
trace("My name is " + userName + ".");
}
}
}