is_movie

Declaration

is_movie (frame, name: STRING)

Description

Returns whether there is a movie name inside frame.

See Also

find_movie
multimedia functions

Example

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