SWFMorph->getShape2
SWFMovie->add
Ming
PHP Manual

# The SWFMovie class

## Introduction

SWFMovie is a movie object representing an SWF movie.

## Class synopsis

SWFMovie
SWFMovie {
/* Methods */
mixed add ( object `$instance` )
void addExport ( SWFCharacter `$char` , string `$name` )
mixed addFont ( SWFFont `$font` )
SWFMovie __construct ([ int `$version` ] )
SWFSprite importChar ( string `$libswf` , string `$name` )
SWFFontChar importFont ( string `$libswf` , string `$name` )
void labelFrame ( string `$label` )
void nextFrame ( void )
int output ([ int `$compression` ] )
void remove ( object `$instance` )
int save ( string `$filename` [, int `$compression` ] )
int saveToFile ( resource `$x` [, int `$compression` ] )
void setbackground ( int `$red` , int `$green` , int `$blue` )
void setDimension ( float `$width` , float `$height` )
void setFrames ( int `$number` )
void setRate ( float `$rate` )
SWFSoundInstance startSound ( SWFSound `$sound` )
void stopSound ( SWFSound `$sound` )
int streamMP3 ( mixed `$mp3file` [, float `$skip` = 0 ] )
void writeExports ( void )
}

## Table of Contents

- SWFMovie->add — Adds any type of data to a movie
- SWFMovie->addExport — Description
- SWFMovie->addFont — Description
- SWFMovie->__construct — Creates a new movie object, representing an SWF version 4 movie
- SWFMovie->importChar — Description
- SWFMovie->importFont — Description
- SWFMovie->labelFrame — Labels a frame
- SWFMovie->nextFrame — Moves to the next frame of the animation
- SWFMovie->output — Dumps your lovingly prepared movie out
- SWFMovie->remove — Removes the object instance from the display list
- SWFMovie->save — Saves the SWF movie in a file
- SWFMovie->saveToFile — Description
- SWFMovie->setbackground — Sets the background color
- SWFMovie->setDimension — Sets the movie's width and height
- SWFMovie->setFrames — Sets the total number of frames in the animation
- SWFMovie->setRate — Sets the animation's frame rate
- SWFMovie->startSound — Description
- SWFMovie->stopSound — Description
- SWFMovie->streamMP3 — Streams a MP3 file
- SWFMovie->writeExports — Description

SWFMorph->getShape2
SWFMovie->add
Ming
PHP Manual