1.3 Concepts and Terminology Flash
When constructing any Flash-movie uses an object-oriented approach. This means that all elements of the film are treated as objects of one type or another, each of which specifies a number of properties and defines a set of allowed operations. For example, for the object "Text" must be set to the size of symbols, the method of the mark, the color and so on. D. The text can be edited in a certain way, cut; copy, create on its basis the text hyperlinks, and so on. n. The same can be said about the images and the sound. However, when working with Flash instead of the term "object" is more commonly used term symbol (Symbol). The main difference between them is as follows: symbol is a kind of template object with a certain set of properties. Symbol is stored in a symbol library (Library) and can be reused in the same film, and in several films. Every new copy of the symbol placed in the film, the character is called an instance (Instance). A copy inherits all the properties of the symbol, and a connection is established between them: when you change the properties of the character corresponding changes are automatically applied to all its instances. Obviously, this approach saves time and energy filmmaker. In addition, the mechanism reduces the characters and the size of the movie if it uses multiple instances of the symbol, information about its properties are not duplicated. However, you can change some properties of a sample, that does not affect the properties of the character of the original. For example, you can change the size and color copies, and if it is a sound symbol - add this or that effect.
As a rule, the dynamics of Flash-films is provided by the fact that for a certain period of time or that change instance properties (such as position, color, size, transparency, and so on. D.), That is, changes the status of the instance. Every state of the instance is connected a single frame of the film (Frame). The frame corresponding to a change of state instance, called a key frame (Keyframe). Key frame itself regarded as an object of the appropriate type, the properties which the user can modify. For key personnel have special functions and commands.
The dynamics of the film frame is described using the timing chart (Timeline). The parameters of the timing diagram, you can specify the frame rate, the beginning and completion of the movement of objects, and so on. D.
The film can be used a number of different objects. Each condition may vary independently of the others, if any, remain unchanged (for example, if an object is used as the background). To simplify the description of the behavior of the various elements of the film, each of which is placed, usually on a separate layer (Layer). Flash developers to explain the role of the layers in the film compare them to a sheet of transparent tracing paper. By bringing together the "stack" of such lists, you can get some kind of stage on which there are various "characters". Speaking of scenes. The scene (Scene) - is another term that is used when working with Flash. Each scene is a certain combination of layers. For simple film is sufficient to create and describe one single stage comprising a single layer. For more complex it may be necessary to create several different scenes. The transition from one scene to the next is determined not by the timing diagram, and a slightly different mechanism. In the simplest case, the film stage is performed sequentially according to their sequence numbers. For more complex construction of the film used means of language ActionScript.
When creating complex enough films plays an important role yet another concept - the clip (Clip, or Movie clip). The clip - a special type of symbol. It is like a mini-movie for which created its own timing diagram and set your own parameters (for example, the frame rate). A clip as any other element of the film may be included in the library of characters to be reused in the film. Each instance of the clip can be assigned its own name.
Any element of the film may also be used within the clip. Permission is granted to create "nested" clips. If you want to describe some additional conditions activate the video inside a movie, then this can be used by means of language ActionScript. The structure of the clip can be included interactive elements (eg buttons).
Animation in Flash based on the change in the properties of objects used in the "cartoon." For example, the objects may disappear or appear, to change its position, shape, size, color, transparency, and so on. D.
