PHP Classes

File: example1.php

Recommend this page to a friend!
  Classes of Adi Setiawan  >  PHP Flash SlideShow  >  example1.php  >  Download  
File: example1.php
Role: Example script
Content type: text/plain
Description: Example 1
Class: PHP Flash SlideShow
Create an image slideshow as a Flash animation
Author: By
Last change:
Date: 11 years ago
Size: 636 bytes


Class file image Download
//include class file

create new object with the following variabel
flashSlideShow($width, $height, $interval, $bgcolor)
$width, movie width in pixel
$height, movie height in pixel
$interval, interval in seconds between each images
$bgcolor, movie backgground color in hexadecimal value
$movie = new flashSlideShow(300, 225, 3, '#FFFFFF');

//add first image to sequence

//add second image to sequence

//save movie,
//now check file name test.swf in current directory