open_movie

Declaration

open_movie (frame, name, movie: STRING)

Description

Finds the movie name inside frame and opens movie in it. This does not start playing the movie. This function always looks for movies in the 'movies' location.

See Also

find_movie
multimedia functions
Location manager

Example

script restart_intro_movie is
  movie_frame := find_movie ('intro_logo')
  if is_movie (movie_frame, 'intro_logo') then
      -- in case the frame is empty
    open_movie (movie_frame, 'intro_logo', intro_movie_name)
  end
end