null vs underfined
underfined is a type, but null is a type of Object.
trace(name);
//get null, because there is no such an Object.
var name:String;
//now name has been declared, but no value, name is underfined. some types default value given. eg: boolean type default value is false