How to get size from swf file?
I have dyn开发者_运维知识库amic pages with swf file inside 'object' tag, but swf files have not identical size. So for more crossbrowsing method i need to set size attributes for 'object'....here is the problem: i don`t know how to get size from swf and transmit it to php. Please help!
$media = "media.swf";
$dem = getimagesize($media);
$height = $dem[1];
$width = $dem[0];
PHP's getimagesize()
documentation.
精彩评论