Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Dennis Suchomsky  >  Slide Show FX  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: This is an example script for teh SlideshowFX class
Class: Slide Show FX
Creates slide shows in Flash with visual effects
Author: By
Last change:
Date: 8 years ago
Size: 697 bytes
 

Contents

Class file image Download
<?php
/**
* PHP SlideshowFX - example files
*
* Creates Flash slideshows with different changeovers
* This Class is based on Adi Setiwans <adi@dutahost.net> (phpclasses.org) Flash Slideshow Class
* Requirement:
* You MUST have PHP with Ming installed as PHP Extension
* see http://ming.sourceforge.net and http://php.net/manual/en/ref.ming.php
* Ask your web server administrator if you don't know how to install it
*
* @author Dennis Suchomsky <dennis@webschreinerei.de>
* @license GNU/GPL
* @version 0.1
*
*/

    
$movie = new SlideshowFX(25010010'#cccccc');
    
$movie->addImage('image1.jpg',5,1);
    
$movie->addImage('image2.jpg',7,2);
    
$movie->save('slideshow.swf');
        
?>