Flash Tutorials - Herong's Tutorial Examples - v3.03, by Dr. Herong Yang
"master and slave" - Viewer and Page Frames
This section describes the 'master and slave' SWF file building process - build a master to act as the viewer, build a slave to hold page frames, then merge them to produce the final SWF file.
In order to help users to navigate through page frames contained in a SWF file generated by the PDF2SWF tool, we need to use "master and slave" SWF building process with 3 steps:
1. Build the "master" SWF file - The master SWF file contains a "viewer", which should provide:
2. Build the "slave" SWF file - The slave SWF file contains page frames, which are usually generated from paged documents like PDF, Word, PointPoint, etc.
3. Build the final SWF file - The final SWF file is usually an output of SWF merging tool like SWFCombine from SWFTools, which copies page frames from the slave file into the "viewpoint" of the master file.
Here is what I am planning to do the test this "master and slave" building process:
For step 1, I don't want to build a new "master" SWF file myself. I will use the one provided in the SWFTools: \local\SWFTools\rfxview.swf.
For step 2, I will use the SWF file generated from the previous section, herong_book_JavaScript.swf.
For step 3, I want to learn to use the SWFCombine command provided in SWFTools.
Table of Contents
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
►SWFTools - SWF File Manipulation Tools
Downloading and installing SWFTools
"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