Flash Tutorials - Herong's Tutorial Examples - v3.03, by Dr. Herong Yang
"swfcombine masterfile viewpoint=slavefile"
This section provides a tutorial example on how to use 'swfcombine masterfile viewpoint=slavefile' command to merge page frames from the slave SWF file to the 'viewport' object in the master SWF file.
Here is SWFCombine command syntax I will be using:
swfcombine masterfile viewport=slavefile -o outputfile
By replacing file names in the above syntax, I am getting the final SWF file as I expected:
The next step is to generate the HTML code to show the result:
C:\herong>\local\SWFTools\swfdump -E Book_Sample.swf <object type="application/x-shockwave-flash" data="Book_Sample.swf" width="600" height="800"> <param name="movie" value="Book_Sample.swf"/> <param name="play" value="true"/> <param name="loop" value="false"/> <param name="quality" value="high"/> <param name="loop" value="false"/> </object>
Putting the above code in a HTML file, I see my PDF pages displayed correctly in the viewport of the viewer!
I have also included the above code here on this page.
If you are reading the Web version of this book,
you should be able to see mp3player displayed and you can play it.
Otherwise, you will see a static image.
Table of Contents