Forum Moderators: coopster
Here is the simple code of the page..
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#666666">
<p>Starting Flash Document</p>
<p>
<?
// Create movie and set parameters.
$movie = new SWFMovie();
$movie->setBackground(0x00, 0x00, 0x00);
$movie->setDimension(5400, 3600);
// Create a new shape.
$square = new SWFShape();
// Set a line width of 15, and rgb color of gold.
$square->setLine(15, 0xff, 0xcc, 0x33);
// Move the drawing pen toward the middle of the screen.
$square->movePenTo(2000, 2000);
// Draw the square, 'standing' it on a point.
$square->drawLine(500, -500);
$square->drawLine(500, 500);
$square->drawLine(-500, 500);
$square->drawLine(-500, -500);
// Add the square to the canvas.
$addedSquare = $movie->add($square);
// Output the $movie to the canvas.
header('Content-type: application/x-shockwave-flash');
$movie->output();
?>
</p>
<p>End Flash Document</p>
</body>
</html>
Looks like something is not compiled correctly. I'm wondering if I need a newer version of the libpng or libgif packages. Any help will be appreciated.
Thanks,
alanv72
[edited by: jatar_k at 4:01 am (utc) on Mar. 15, 2004]
[edit reason] no urls thanks [/edit]