"swfcombine -d" - Change Frame Rate and Size

This section provides a tutorial example on how to change frame rate and frame display size of a SWF file using the 'swfcombine -d' command.

If you just want to change the frame rate or display size of a single SWF file, you can use the "swfcombine -d" command with the following syntax:

swfcombine -o output.swf -r nn.nnn -s mm.mm% -d input.swf

"nn.nn" specifies the frame rate. "mm.mm%" specifies the scale percentage on the display size.

For example, we can create a slide show SWF file from nature pictures on the Windows 7 system again:

C:\herong>\local\SWFTools\jpeg2swf -f -X 1600 -Y 1000 -r 1 
   -o nature.swf  \windows\web\Wallpaper\nature\img*.jpg

C:\herong>\local\bin\flashplayer_13_sa slow.swf

You will see a slide show with a large display and a fast frame rate. You can change its frame rate with the "-r nn.nn" option:

C:\herong>\local\SWFTools\swfcombine -o slow.swf -r 0.25 -d nature.swf

C:\herong>\local\bin\flashplayer_13_sa slow.swf

You will see a slide show played at a slower speed. Now you can change its display size with the "-s mm.mm%" option:

C:\herong>\local\SWFTools\swfcombine -o small.swf -s 20.0% -d slow.swf

C:\herong>\local\bin\flashplayer_13_sa small.swf

You will see a slide show with a smaller display size.

Table of Contents

 About This Book

 Introduction of Adobe Flash

 Adobe Flash Player Plugin for Firefox

 Adobe Flash Player Plugin for Chrome

 Adobe Flash Player Plugin for Safari

 Adobe Flash Player ActiveX for IE

 Using "object" Elements for Flash Files

 Using "embed" Elements for Flash Files

 "mp3player" - MP3 Music Player

 SWFObject - Hidding "object" behind JavaScript

 Flash Player Projector

SWFTools - SWF File Manipulation Tools

 What Is SWFTools?

 Downloading and installing SWFTools

 SWFDump - SWF File Dump Tool

 "swfdump" - Dump SWF File Header

 "swfdump -E" - Generate HTML Code

 JPEG2SWF - JPEG to SWF File Conversion Tool

 "jpeg2swf *.jpg" - Create a Slide Show

 PDF2SWF - PDF to SWF File Conversion Tool

 "pdf2swf" - Convert PDF to SWF

 "master and slave" - Viewer and Page Frames

 SWFCombine - SWF File Merging Tool

 "swfcombine masterfile viewpoint=slavefile"

 "swfcombine -a" - Concatenate SWF Files

"swfcombine -d" - Change Frame Rate and Size

 SWFC Script to Generate Flash SWF Files

 ActionScript Embedded in SWFC Script

 AS3Compile - ActionScript 3 Compiler

 Adobe Flex SDK 4

 SWF File Structure and Tags

 SWF File Processing Rules

 SWF Files for Video and Audio Streams

 Outdated Tutorials

 References

 Full Version in PDF/EPUB