Programming basics
Objects
Some elements of the Flash file are quite complicated yet alike. For example Buttons – all buttons have common attributes and functionality. Even if they look quite differently all of them have size, over state and may be clicked.
All buttons are objects of class Button. When you create a new Button it comes with the set of predefined methods, properties and events.
The most often referred objects in Flash are MovieClip and Button. Other intrinsic (provided with ActionScript) objects exist – such as Math – which keeps methods for the calculation like random(), sin() and so on and important constants, Date – to find and transform date and time, String – to manipulate texts and others.
Also custom objects may be created by programmers and held a custom set of methods and properties, but it goes out of scope of our course.