Re: [Flashcoders] PHP :: Dimensions of a SWF file?

2006-05-25 Thread Chris Hill
http://getid3.sourceforge.net/ This will get you not only width and height, but a lot of really useful information such as bg color, frame rate, etc... And here's my (somewhat old) php code for rendering the swf: $fileInfo = GetAllFileInfo($filePath,'swf'); $ve

RE: [Flashcoders] PHP :: Dimensions of a SWF file?

2006-05-25 Thread Ashwan Wadhwa
t: Re: [Flashcoders] PHP :: Dimensions of a SWF file? Thanks! That ASP class reads the header of the SWF file. Is this header the same between flash versions and stable for a while ;-) A+ Ashwan Wadhwa a écrit : > This is in ASP, but you could find alternative commands in PHP: > &

Re: [Flashcoders] PHP :: Dimensions of a SWF file?

2006-05-25 Thread Éric Thibault
SUPER! Thanks! 8-) Steve Webster a écrit : Hi Eric, Is there a way to know via PHP the dimensions (height & width) of a SWF file? I need this information to construct an html interface with all kinds of SWF loaded via UFO script! The built-in getimagesize() function supports SWF files:

Re: [Flashcoders] PHP :: Dimensions of a SWF file?

2006-05-25 Thread Éric Thibault
Thanks! That ASP class reads the header of the SWF file. Is this header the same between flash versions and stable for a while ;-) A+ Ashwan Wadhwa a écrit : This is in ASP, but you could find alternative commands in PHP: http://www.4guysfromrolla.com/webtech/tips/t102001-1.shtml Ashwan

Re: [Flashcoders] PHP :: Dimensions of a SWF file?

2006-05-25 Thread Ian Thomas
Well, you learn something new every day... *throws away existing code*. Thanks, Steve! Ian On 5/25/06, Steve Webster <[EMAIL PROTECTED]> wrote: The built-in getimagesize() function supports SWF files: http://uk.php.net/getimagesize Enjoy! ___ Flas

Re: [Flashcoders] PHP :: Dimensions of a SWF file?

2006-05-25 Thread Steve Webster
Hi Eric, Is there a way to know via PHP the dimensions (height & width) of a SWF file? I need this information to construct an html interface with all kinds of SWF loaded via UFO script! The built-in getimagesize() function supports SWF files: http://uk.php.net/getimagesize Enjoy! -- St

RE: [Flashcoders] PHP :: Dimensions of a SWF file?

2006-05-25 Thread Ashwan Wadhwa
This is in ASP, but you could find alternative commands in PHP: http://www.4guysfromrolla.com/webtech/tips/t102001-1.shtml Ashwan. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Éric Thibault Sent: Thursday, May 25, 2006 9:42 AM To: Flashcoders mail