MOVIE

MOVIE N

CREATES A SYSTEM OBJECT MOVIE AND ALLOCATES IT NUMBER N AS REFERENCE

  • Type: Command
  • Parameter: 1
  • Group: System Objects Creation

ACTION

The command MOVIE N creates a system object MOVIE, and allocates it a number N. The number N will be used to designate the MOVIE.

The created MOVIE can then be used through the appropriated commands.

The MOVIE is created at position (0,0) : that is TOP = 0 pixel and LEFT = 0 pixel, with dimensions WIDTH = 100 pixels and HEIGHT = 80 pixels.

A MOVIE plays a multimedia video loaded by FILE_LOAD.

A MOVIE cannot generate an event.

Remark: by default, the MOVIE is created on the FORM number 0, but another FORM can be used. For that, create a FORM by FORM N, and send it all the commands by COMMAND_TARGET_IS N before creating the MOVIE.

SYNTAX: MOVIE N

  • N = system object number (integer or real). Must be greater than 0 and less than or equal to the allowed maximum number of system objects.

USE

  • A MOVIE is used to play a multimedia video.

ERROR

  • If number N is not a correct expression.
  • If number N exceeds the allowed maximum number of system objects.
  • If number N is less than or equal to 0.
  • If number N is already used for a system object number.

EXAMPLE

rem create a Movie with default position and dimensions

movie 1

rem fill the movie with a file, the path being into variable a$

file_load 1,a$

rem play the movie

play 1

SEE ALSO

TOP

LEFT

WIDTH

HEIGHT

HINT

HINT_HIDE

FULL_SPACE

COLOR

FILE_LOAD