Version

From Director Online Wiki
Jump to: navigation, search

version is an archaic property/global variable. It has been deprecated because it has one significant problem.


If the variable NOT been SET, it will return the version string for Director or a Projector that is running, in the format majorRelease.minorRelease.


Unfortunately since it can be SET, the information could be unreliable, so it's best to use the newer property the productVersion (which is also available as a property within the environment propertyList using the syntax: (the environment).productVersion)