Hi All,
i am trying to retrieve the flash Movie size(height and width). It is giving me size '0*0' if i am using 'html_imgsize' or 'imgsize'. Instead i also tried using 'swfsize'. But it hangs and not able to get the swf file size
This subroutine hangs at second line in following subroutine ( my $header = &$read_in($image, 33)

i am not sure what this &$read_in($image, 33) is doing. I could not find read_inb subroutine in whole size.pm fil.
can anybody give me any pointers on this and give me sample code which is actually reteriving flash file size?
sub swfsize
{
my $image = shift;
my $header = &$read_in($image, 33);
sub _bin2int { unpack("N", pack("B32", substr("0" x 32 . shift, -32))); }
my $ver = _bin2int(unpack 'B8', substr($header, 3, 1));
my $bs = unpack 'B133', substr($header, 8, 17);
my $bits = _bin2int(substr($bs, 0, 5));
my $x = int(_bin2int(substr($bs, 5+$bits, $bits))/20);
my $y = int(_bin2int(substr($bs, 5+$bits*3, $bits))/20);
return ($x, $y, 'SWF');
}