To insert a Flash slide-show (.Swf file) in to an html page it is necessary to:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="XXX" height="YYY">
<param name="movie" value="project.swf">
<param name="quality" value="high">
<embed src="project.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="XXX" height="YYY"></embed>
</object>
Note: it’s very important not to move the file from the folders produced by the software, otherwise the links are lost and your Flash slide-show will not work.
To display a slide show at full-screen size it is necessary to insert the following javascript instruction in the code:
window.open(' project.swf ','','fullscreen=1,scrollbars=0')
The html page has to be set up so:
<html>
<head>
<title>index</title>
<script language="JavaScript">
<!--
() { full-house function
( window.open(' project.swf', '', ' fullscreen = 1,scrollbars = 0 ' );
}
//-->
</script>
</head>
<body onLoad="full()">
</body>
</html>
Where several slide shows are required in the site (e.g. in the product page 1 one Flash slideshow, in the product page 2 another Flash slideshow) it is necessary to:
These instructions have to be repeated for all the other slide shows, and photo galleries which inserted in the various website pages.
Where several Flash slide-show are required in the site (e.g. in the product page 1 one Flash slideshow, in the product page 2 another Flash slideshow) it is necessary to:
In this case use the enlargement option (640x480, 800x600, 1024x768) in your Flash slide-show, these are shown in the browser on the browser windows, It is also necessary to place all the files and folders at the same level of the html page (as shown above) so as not to compromise the link between the files.
For a simplified insertion of your Flash slideshow inside an html pages, use the “iframe” technique with the following code:
<iframe src="xxxx/xxxxx/start.htm" height="150" width="176" frameborder="0" scrolling="no" > Qui</iframe>
Where “project.htm” is an html page containing: “project.swf”
To manage the alignment of your Flash slideshow contained in an “iframe” , modifying the page “start.htm”, produced by A2 Flash, which is found inside the project folder.
In this page it’s possible add one: “table” with internal automatic downsizing (100%) where the object flash (.swf) has to be set.
It is therefore possible to check the horizontal and vertical alignment of the Flash slide show.