Dynamic ActionScript: All dynamic instance variables are untyped and public
package{
import flash.display.Sprite;
publicclass Main extends Sprite{
public function Main(){
var person:Person = new Person( );
person.eyeColor = "brown";
trace(person.eyeColor); // Displays: brown
trace(person.age); // Displays undefined because the person object
}
}
}
dynamic class Person {
}