Page 1 of 1

Getting the dimensions on a swf file...

Posted: Mon Aug 01, 2005 3:20 pm
by jackjack
I know that can get the dimentions of an image and a video file, but if it possible to get the dimensions of a swf ( flash) file ?

http://us3.php.net/manual/en/function.g ... .php#47785
that gives you the dimensions on a video.

what about flash files ?

Posted: Mon Aug 01, 2005 9:02 pm
by Ambush Commander
The getimagesize() function will determine the size of any GIF, JPG, PNG, SWF, SWC, PSD, TIFF, BMP, IFF, JP2, JPX, JB2, JPC, XBM, or WBMP image file and return the dimensions along with the file type and a height/width text string to be used inside a normal HTML <IMG> tag.
Yup. Of course. Read the manual. ::Cough Cough::

Posted: Mon Aug 01, 2005 10:16 pm
by timvw
I'm sorry, it's 5.23am overhere and i'm asleep.