Mercurial > hg > extraction-interface
view _xampp/splash-swf.php @ 6:63e08b98032f
rewrite extraction interface into PHP MVC architecture.
(Although js hasn't been rewritten into MVC, it's fitted into the current PHP MVC architecture.)
- The root of the new PHP MVC is at 'develop/'.
- extraction interface is called "Extractapp" with several action, eg TaggingText, EditWordlist, EditTaglist, ExportTable.
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Thu, 05 Feb 2015 16:07:53 +0100 |
parents | b12c99b7c3f0 |
children |
line wrap: on
line source
<? $m = new SWFMovie(); $m->setDimension(400, 100); $m->setBackground(0xff, 0xff, 0xff); $logo = new SWFSprite(); $j = $m->add($logo); $j->setName("logo"); $m->add(new SWFAction("loadMovie('splash-logo.php','logo');")); $step=0.1; for($i=0;;$i+=$step) { if($i>100)$i=100; $x=400-(400*$i/200)-200; $y=100-(100*$i/200)-50; $s=$i; $m->add(new SWFAction("logo._rotation = $i; logo._xScale=$s; logo._yScale=$s; logo._x= $x; logo._y=$y;")); $m->nextFrame(); $step*=1.2; if($i==100)break; } header('Content-type: application/x-shockwave-flash'); $m->output(); ?>