PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Michael Plies  >  image2swf  >  example.php  >  Download  
File: example.php
Role: ???
Content type: text/plain
Description: the example
Class: image2swf
antiquated - made in 2002
Author: By
Last change:
Date: 14 years ago
Size: 1,690 bytes


Class file image Download
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">


<body bgcolor="#FFFFFF" text="#000000">

			/* ******************************
			*  Image2swf 
			*  Autor: Michael Plies
			*  Ming can only convert non-progressiv jpg to swf 
			*  with this class you can generate (depending on your gd-version)
			*  swf from jpg,gif,png
			*  I.____________________________________
			*  You will need the Ming libarie on php
			*  ->
			*  II.___________________________________
			*  You will need the gd libarie on php
			*  depending on this you can use this class
			*  with jpg/gif/png
			*  !!!!attention !!!!
			*  this is my very first class (ever), so i would
			*  be very glad for comments and sugesstions 
			*  maybe for better coding classes in php or something else ;-)
			*  -> , thanks!
			******************************** */
	$swf = new Image2swf;
	// $swf->Main(<source_image>,<new swf_name>);
<object name="test" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=",0,0,0" width="200" height="400">
	<param name=movie value="test.swf">
	<param name=quality value=high>
	<embed src="test.swf" quality=high pluginspage="" type="application/x-shockwave-flash" width="200" height="400" name="test">