Movie


super: Object

A Movie object from the Asset. It can be played by a MoviePlayer.

Events

  • Load() This event is called when the object becames available in the current runtime system.

  • Unload() This event is called when the object has been removed from the current runtime system (but not yet deallocated).

Properties

  • var path: String The URL of the movie file

  • var objectName: String The name of the object.

Class Methods

  • func createMP4(array: List, outputFile: String, fps: Int = 24, completion: Closure) Create an MP4 movie.

  • func createGIF(array: List, outputFile: String, repeats: Int = 0, delay: Float = 0.02, completion: Closure) Create a GIF file.