Mercurial > hg > extraction-interface
view _xampp/test/xampp_ming/bitmaps.php @ 26:579f03f8bee5
merge table books_info into table books (execute Home/Test)
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Tue, 03 Mar 2015 10:33:42 +0100 |
parents | b12c99b7c3f0 |
children |
line wrap: on
line source
<?php Ming_setScale(20.0); ming_useswfversion(7); $movie=new SWFMovie(); $movie->setRate(31); $movie->setDimension(400,300); $movie->setBackground(0xCC,0xCC,0xCC); $filesrc1="jpg.jpg"; $filesrc2="png.png"; $filesrc3="gif.gif"; $filecontents1=file_get_contents($filesrc1); $img = new SWFBitmap($filecontents1); $f1=$movie->add($img); $f1->moveto(90,50); $filecontents2=file_get_contents($filesrc2); $img = new SWFBitmap($filecontents2); $f1=$movie->add($img); $f1->moveto(10,10); $filecontents3=file_get_contents($filesrc3); $img = new SWFBitmap($filecontents3); $f1=$movie->add($img); $f1->moveto(170,80); header('Content-Type: application/x-shockwave-flash'); $movie->output(0); ?>