Posted by Ciaran on 03/25/07 14:12
Wow! I found it! It's so simple! PHP can read SWF files as images! So
the PHP code to find the width and height of a SWF file is....
<?php
list($width, $height, $type, $attr) = getimagesize("any.swf");
echo "Image width " .$width;
echo "<BR>";
echo "Image height " .$height;
echo "<BR>";
echo "Image type " .$type;
echo "<BR>";
echo "Attribute " .$attr;
?>
If you don't know PHP, this bit of code simply checks the dimensionos
of the swf and prints them out.
Hope that helps someone!
Ciarán
[Back to original message]
|