开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜