Getting the dimensions on a swf file...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jackjack
Forum Newbie
Posts: 14
Joined: Sat Jul 16, 2005 11:43 pm

Getting the dimensions on a swf file...

Post 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 ?
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post 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::
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

I'm sorry, it's 5.23am overhere and i'm asleep.
Post Reply