PDA

Просмотр полной версии : getimagesize() - SWF


louder
17.04.2003, 03:46
Смысл такой :
в базе сотни swf-файлов, каждый имеет разные размеры (WxH), а их очень нужно вставлять в окошко, и с нужными рамерами .. прописать в базе размеры для каждого, согласитесь, геммор.
Тем более, что есть ф-ция - getimagesize(), которая работает и с SWF файлами.. но вот трабл: не хочет работать с файлами 6-ого плеера.. Мот кто-нибудь знает другой способ узнать размеры swf ?

Самурай
17.04.2003, 18:25
dan at danielwood dot co dot uk
17-Mar-2002 02:33

getimagesize() doesnt appear to work with the new Flash 6 swf files


02-Dec-2002 03:01

>dan at danielwood dot co dot uk
>17-Mar-2002 02:33
>getimagesize() doesnt appear to work with the new Flash 6
>swf files.

Flash 6 swf's will work if they are not compressed when published. The LZW compression starts before the image dimensions (according to gary).
-hanz


xangadix at xangadix dot net
11-Jan-2003 09:24

yes it's true, for getimagesize to work with flash 6 you need to switch of recompress in your publish settings :(