Using Director > Parent Scripts > Similarity with other object-oriented languages |
![]() ![]() ![]() |
Similarity with other object-oriented languages
If you are familiar with an object-oriented programming language such as Java or C++, you may already understand the concepts that underlie parent scripting but know them by different names.
Terms that Director uses to describe parent scripts and child objects correspond to the following common object-oriented programming terms:
Parent scripts correspond to classes.
Child objects correspond to instances.
Property variables correspond to instance variables or member variables.
Handlers correspond to methods.
Ancestor scripts correspond to the Super class or base class.
![]() ![]() ![]() |