Is it possible to extract the height and width of a swf file with a
command in php?
Or is there another way to do this. it's because we want to make a
table height dynamic to the size of the swf file. Just curious?
Thanks,
patrick
___
On idea...
You could use Stage.width and Stage.height in Flash - send those
variables via Javscript/externalInterface and use a javascript
function to adjust the height/width of the table.
On 12/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Is it possible to extract the height and width
The getimagesize() function does it for you.
http://uk2.php.net/manual/en/function.getimagesize.php
HTH,
Ian
On 12/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Is it possible to extract the height and width of a swf file with a
command in php?
Or is there another way to do this.
function get_img_size($loc) {
# Get the image size of the file.
# Array returned gets populated with getimagesize() values:
/* Array (
[0] = 60
[1] = 41
[2] = 2
[3] = width=60 height=41
[bits]
4 matches
Mail list logo