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
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:
>
&
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:
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
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
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
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
7 matches
Mail list logo