o dzięki już znalazłem. getimagesize zadziała w przypadku gdy swf nie był kompresowany a bodajże od wersji 7 swf-y kompresuje sie wtedy trzeba zastosować coś innego w sieci znalazłem takie funkcje:
<?php
function swfdecompress($buffer)
{
if(function_exists
('gzuncompress') && substr($buffer, 0, 3) == "CWS" && ord
(substr($buffer, 3
, 1
)) >= 6
) {
$output = 'F';
$output .= substr ($buffer, 1
, 7
); $output .= gzuncompress
(substr($buffer, 8
)); return ($output);
}
else
{
return ($buffer);
}
}
function getSWFDimensions($filename)
{
$width= $image_info[0];
if("" == $width)
{
$zd = gzopen ($filename,"r");
$contents = gzread
($zd, filesize($filename)); gzclose ($zd);
$image_string = swfdecompress($contents);// Decompress the file
$tempHandle = fopen("temp.swf","w"); fwrite($tempHandle,$image_string); }
return $image_info;
}
?>
źródło:
http://www.webpassion.pl/tut_4.html