go_to_movie_start

Declaration

go_to_movie_start (frame, name: STRING)

Description

Finds movie name inside frame and rewinds to the beginning.

See Also

go_to_movie_end
find_movie
multimedia functions

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
    stop_movie (movie_frame, 'intro_logo')
    go_to_movie_start (movie_frame, 'intro_logo')
    start_movie (movie_frame, 'intro_logo')
  end
end