Click SWF to play the example. Click HTML to open an example Web page. Right-click (or Control-click/Mac) FLA to
download the file and see the Timeline, etc.
All the Web pages in this folder play the same single SWF (olive_publish.swf)
generated by the Publish Settings in the FLA (olive_publish.fla).
SWF :: FLA
> HTML olive_publish.html
This is simply the HTML file generated by Flash
(from Publish Settings). Notice that the SWF (played alone) loops,
but within the HTML page, it does not loop.
> HTML olive_publish_detect.html
This HTML file includes the JavaScript
Flash player version detection, as generated by the Flash Publish Settings
dialog. View the source code and compare the difference between this
page's code and the code for the simple version above (which has
the raw OBJECT code, and no player version detection).
> HTML olive_publish_layout.html
In this HTML file, a normal HTML
table is used to control the page layout. You can position the SWF exactly
as you would a GIF or JPG.
> HTML olive_publish_popups.html
Two different links on this page
open two different pop-up windows. One contains the plain SWF alone
(olive_publish.swf). The other contains the same SWF embedded in
an HTML page (olive_publish_window.html).
> HTML olive_publish_window.html
This is the HTML page called by the link
in the previous page (olive_publish_popups.html). It includes CSS to
remove the page margins set by the browser.
You may notice a difference between the SWF used here and those
in Lesson 2. The one used here
has a mask layer. Download the FLA to
see how it works.
Download all files for this lesson (requires Flash MX or later):
> Windows (.zip) 12 KB
> Mac (.sit) 11 KB
|