Syntax

import icon <imageFilePath> [name <iconName>] [id <iconID>]
import sound <soundFilePath> [name <soundName>] [id <soundID>]
import graphic <imageFilePath>

Explanation

icon, sound

Imports the given image file as an icon image asset, resp. sound file as a sound asset into the current project, allowing you to optionally assign it a desired name and ID number. If no ID is given, an unused ID number will be chosen. If no name is given, the file’s name with the suffix removed will be used.

Icons can be used as images on buttons and menu items. Sounds can be played back using the play command.

graphic

Imports the given image file as a picture graphic object onto the current card.

See Also