SWF::MovieClip - MovieClip Class
use SWF::MovieClip; my $sprite = new SWF::MovieClip();
SWF::MovieClip allows you to add animated objects to your Fash movies.
Returns an SWF::MovieClip object.
$di = $mc->add($swfobject);
When you add following types of objects to the $mc they will return a SWF::DisplayItem:
SWF::Button SWF::PrebuiltClip (a whole external swf file) SWF::MovieClip (you can nest them like a tree) SWF::Shape SWF::Text SWF::TextField SWF::VideoStream
When you add a SWF::Sound the return value is a SWF::SoundInstance:
$si = $mc->add($sound);
Removes SWF::DisplayItem $di from the display list.
Move to the next frame in the timeline of SWF::MovieClip $mc
Sets total number of $mc frames to $i This is an optional autofiller, e.g. when you want to be sure that 2 different movieclips have 100 frames when playing, but the number of nextFrame() calls in these 2 movieclips is unknown or dynamic (dependent on data from databases, whatever)
By default a movieclip the number of frames in the timeline is how often you called $mc->nextFrame for this clip.
Sets frame name to $name
You are then able to access this frame by name in ActionScript, not just by frame number.
Soheil Seyfaie (email@example.com) Peter Liscovius
see AUTHORS of ming distribution (ming.sf.net)