Friday 15 January 2010

How do I find the natural size/dimensions of a Flash SWF file? -


I have been given a Flash file ( .swf extension) to put a web page . Opening the file in my browser makes it quite blurred, so I assume that there is a natural shape for the file, similar to an image.

It is also rectangular, so I should work in aspect ratio. I do not have the exact size. How do I find this information?

I was wondering how to get this out last night I could not find anything on Google, but Then I remembered that PHP's getimagesize works on SFF movies:

  & lt ;? Php $ file = "YOUR_FILE.swf"; $ Info = getimagesize ($ file); $ Width = $ info [0]; $ Height = $ info [1]; Print "{$ width} x {$ height} \ n"; ? & Gt;  

No comments:

Post a Comment