Back Previous Next

Slideshow keyword - picture

Syntax:

picture {name} {source}
   [at {left} {top}]
   [align left/center/centre/right top/center/centre/bottom]
   [hidden]

Function:

Load a JPEG or GIF picture. The system prefixes the current base onto {source} to save you typing. The {name} is used to refer to the picture later and can comprise any quoted string including spaces.

Pictures can be placed anywhere in the overall 640 by 480 window area, or indeed anywhere outside it, by using negative numbers or numbers greater than the window width or height. The alignment options specify which part of the image should be placed at the location requested, and default to left and top if omitted. If the optional word hidden is given the image will be made invisible - see show. This enables you to preload an image so it will be ready to show later.

See also show, slide and remove.

Example(s):

picture "Ship 1" "ship1.jpg" at 320 100 align center top hidden


Back Previous Next