set_movie_visible

Declaration

set_movie_visible (frame, name: STRING; visible: BOOLEAN)

Description

Finds movie name inside frame and changes its visibility to visible.

See Also

find_movie
hide_movie
show_movie
is_movie_visible
multimedia functions

Example

script update_intro_movie is
  movie_frame := find_movie ('intro_logo')
  if is_movie (movie_frame, 'intro_logo') and 
     is_movie_visible (movie_frame, 'intro_logo') then
      -- in case the frame is empty
    set_movie_visible (movie_frame, 'intro_logo', user_wants_to_show_movie)
  end
end