Return to FunctionReference page

Function

  • void SWFMovie_protect(SWFMovie movie, char *password);

Purpose

  • Password protect a movie from editing.

Parameters

  1. SWFMovie movie - Movie to be edit protected

  2. char *password - Pointer to MD5 encoded password

Returns

  • void - No return value

Language

  • C

Ming version

  • (unknown). At least 0.4.0 and onwards, possibly earlier versions as well.

Notes

  • This function adds a block to the movie that tells flash editors to require a password before allowing editing of this movie. The block contains an md5 encoded password used by the flash editor to allow access to the movie.

Example

   1   SWFMovie_protect(my_movie, password_to_use);