Français   English


the ActionScript SlideShow

the Images files

the images files have to be in a folder "images",this folder have to be in the same folder as the file slide.swf.

With Ming and PHP

You can use it without Ming,
you juste have to download the SWF file, and in your php script you have to had the 2 first lines of the script below.

 

<?php

include ('BuildXml.php');

buildXML();

ming_setScale(20.00000000);
ming_useswfversion(7);

$movie = new SWFMovie();
$movie->setDimension(500,500);

$movie->setBackground(0xF2, 0xF2, 0xF2 );
$movie->setRate(31);

//Ajout de l'actionscript
$strAction = "
l'actionScript du slideShow ici.
";

$movie->add(new SWFAction( str_replace("
", "", $strAction)));

$movie->save("slide.swf", 9);

?>

To include the swf file in your html pages :
 


<html>
<body >

<object  classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash4/cabs/
swflash.cab#version=6,0,47,0" id="animation"
 width="500" height="500" >
	<param name="movie" value="slide.swf">
	<param name="quality" value="high">
<embed  src="slide.swf"
quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="500" height="500"
embed/>
<noembed>Texte alternatif pas de flash </noembed>
</object>

</body>
</html>