This is probably the wrong list, but:
1. The ming extension won't work on PHP5 b1.  It crashes.  Apache
2.0.47/Windows.
2. It works on PHP4 though (same Apache, does that matter?) but this code:

<?php
$s = new SWFShape();
$s->setLine(20, 0xff, 0, 0);

$s->drawLine(200, 0);
$s->drawLine(0, 200);
$s->drawLine(-200, 0);
$s->drawLine(0, -200);

$m = new SWFMovie();
$m->setDimension(800, 600);

$i = $m->add($s);
$i->moveTo(400, 300);

for($j=0; $j<25; ++$j)
{
  $m->nextFrame();
  $i->rotate(15);
}

$m->nextFrame();

header('Content-type: application/x-shockwave-flash');


// Date in the past
/*
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");

// always modified
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");

// HTTP/1.1
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);

// HTTP/1.0
header("Pragma: no-cache");
*/
$m->output();

?>

turns the square around fully, and then moves it 15 degrees and then back.

And, 3. this is more about Flash than PHP, but when I uncomment the no-cache
headers, it won't let me see the movie (it offers it to download and won't
run).
-- 
<?="<??>"?>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to