Practice 5
Integrating AVI files
AVI files contain digital video sequences that usually take up a lot of space and, therefore, are only recommendable for use in applications that will later be distributed on CD-ROM. The ones used in this exercise are very small to facilitate downloading from the Internet.
- Create a new association in the same working directory used so far.
- Set a distribution of 2 rows and 2 columns.
- You should create a NEW TEXT in grid A called AVIANI.TXT. Its content should be as follows:
{deer.avi}
{frog.avi}
{zebra.avi}
{bear.avi}
- Create a new text file called NAMESAN2.TXT for grid B (to distinguish it from NAMESANI that we have used previously) and write:
Deer
Frog
Zebra
Bear
- In Welcome message write:
Do you know these animals?
- And a message of congratulation in Good bye message.
- Click on the Options button and set the cell size at 120 x 88 for grids A and B. This is the size of the example videos which come with the ZIP file corresponding to this guided practice.
- Confirm everything and test the activity.
You will have noticed that on starting the activity there are film roll icons shown in the cells in grid A. This is the standard image that Clic uses when there is only an animation or a video in an area, the same way as a speaker is shown for WAV files. This initial appearance could be modified to include a message or an image in each cell while the AVI video is inactive.
Some GIF images representing the first still of each video are included in the practice materials. The objective of the following steps is to combine these GIF images with the AVI files to give the sensation of a board of images that start moving when clicked:
- Edit the activity (CTRL+E) and click on the Edit contents button for grid A.
- Change the AVIANI.TXT file so that it ends up as follows (The character at the end of the GIF files is a zero, not a capital "o"):
{deer0.gif}{deer.avi}
{frog0.gif}{frog.avi}
{zebra0.gif}{zebra.avi}
{bear0.gif}{bear.avi}
- Save the changes and check the activity.
- Deactivate the help button, as the text does not show any meaningful text.
- Save the activity as ANIMALS5.ASS
|