Calling multimedia contents from Clic

We have already seen that in any area of Clic where, in principal, text should appear (cells, hello and goodbye messages, crossword definitions, etc.) an image can be made to appear by writing the name of a BMP or a GIF file between curved brackets. This technique is also used to call other types of multimedia content, such as sound (WAV), MIDI (MID) or digital video (AVI) files, and also for special instructions such as: link to another activity or pack; record a fragment of sound with the microphone; reproduce a previously recorded fragment; activate a music CD, close Clic or start up external programmes.

For a detailed description of the syntax permitted in the calls between curved brackets, we recommend that you consult Import graphics, multimedia resources and other special commands which you will find in the Creating activities section of the help or the Clic manual.

More than one call between curved brackets can be set in the same area or cell, as long as the files are compatible. For example, a multimedia file and a text (or a graphic) can be combined by writing the two references in the same line, e.g.:

Bicycle{bike.wav}
{cow.bmp}{cow.wav}
{lion.gif}{lion.avi}
The human body{humanbod.pac}

In the first case the text Bicycle will be shown in the cell and when it is activated the bici.wav file will be heard. In the second the cow.bmp image will be seen, which will play the cow.wav file, and in the third case the lion.gif image will be shown until the lion.avi video is activated. The fourth example is the one normally used in information screens that act as menus to activate different activity packs.