black

Typekeyword
DictionaryLCS
LibraryLiveCode Script
Syntax
black
Summary

Used with the visual effect command to indicate that a blank black screen is shown at the end of the visual effect.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
visual effect push left to black
RelatedCommand: show, visual effect, hide
Glossary: command, keyword, background
Keyword: inverse, gray, white, card
Description

Use the black keyword to transition to a blank black background in a sequence of visual effects.

Visual effects can be stacked in a sequence by using several visual effect commands in succession. If the last transition ends with showing the card, and all except the last one shows an intermediate image (such as a solid black color), the effect is enhanced. You show a solid black color at the end of a transition by using the black keyword.

This example uses the push effect with the black keyword to emulate an old-fashioned slide projector:

visual effect push left to black -- from card to solid black
visual effect push right to card -- from black to final card
go card "Destination"

Tagsmultimedia