prepare | ||||||||||
Type | command | |||||||||
Dictionary | LCS | |||||||||
Library | LiveCode Script | |||||||||
Syntax |
| |||||||||
Summary | Preloads a movie into memory. | |||||||||
Introduced | 1.0 | |||||||||
OS | mac, windows, linux | |||||||||
Platforms | desktop, server | |||||||||
Parameters |
| |||||||||
Example |
| |||||||||
Related | Property: frameRate Command: play Function: movie Glossary: parameter, command, loaded into memory, execute | |||||||||
Description | Use the prepare command to speed up execution of the play command. Use the prepare command to preload the movie at some time before it is needed. Then use the play command with identical parameters to actually play the movie. Since the movie is already loaded into memory, it starts up instantly when the play command executes. The parameters of the prepare command must be identical to those of the corresponding play command. | |||||||||
Tags | multimedia |