Furthermore it is possible that scripts generate custom events which can be sent to sprites, frames or movies. For example, take a select button that changes its appearance while being pressed in order to give the user some visual feedback. MouseDown - the user presses the left mouse button. MouseUp - the user releases the left mouse button. MouseLeave - the mouse pointer leaves the area of the sprite.
Director plays movies by animating each individual sprite as laid down by the author.
Playback is done like stop-motion animation in film, by dividing time into slots called frames and displaying one frame after the other at a given frame rate per second. While playing Director creates messages for internal events and user input - scripts associated with these events are executed. These scripts may change almost every aspect of the movie and thus allow for interactive applications. The application is split up over several files. Each interface is a separate Director movie, which is loaded on request.