<?php
Ming_setScale(1.0);
$m=new SWFMovie();
$m->setRate(14.0);
$m->setDimension(2000, 500);
$m->setBackground(235,173,112);
$f = new SWFFont("Arial");
$tx=my_text("James Shagall");
for($x=0, $y=0; $x<=100; ++$x, ++$y) {
$tx->moveTo($x*20, 200*log($y+1));
$m->nextFrame();
}
header('Content-type: application/x-shockwave-flash');
$m->output();
function my_text ($str) {
global $m, $f;
$t = new SWFText();
$t->setFont($f);
$t->setColor(0,0,255);
$t->addString($str);
$i = $m->add($t);
return $i;
}
?>
soda dieser code hier gibt zwar keine fehler mehr aber killt dafür Mozilla oder IE
dann hab ich einen fehler rausgefunden wenn man bei $f = new SWFFont("Arial"); ne font angiebt die scriptverzeichniss is checkt das der apache ned weil der sucht anscheinend im font verzeichniss vom windows...
na bis wer was sagt debugge ich das wahrscheinlich eh selber
