Показать сообщение отдельно
Старый 29.01.2003, 04:59
Pietrovich вне форума Посмотреть профиль Отправить личное сообщение для Pietrovich Найти все сообщения от Pietrovich
  № 8  
Pietrovich
 
Аватар для Pietrovich

Регистрация: Apr 2001
Адрес: Z-town
Сообщений: 677
Отправить сообщение для Pietrovich с помощью ICQ
блин, фиговую ссылку дал
он тоже тока джапеги читает

но вариант с ремотным размещением скрипта и гифов помоему неплох.

З.Ы. из мана к ПХП
Код:
hotkey@hehe.com (21-May-2001 05:52)

To insert bitmaps, don't use the as syntax given in this documentation, due to OPAQUE changed the usage of SWFBitmaps: You need to give binary data as argument! In addition to that, you can now just "swf->add()" Bitmaps; you don't need to create a rect-shape and fill it.
So just try this:
==================
$fp = fopen($filename,"r");
$i = fread($fp,999999);
$img = new SWFBitmap($i); #don't give "fread(...)" as argument, but buffer it.
fclose($fp);
$swf->add($img);  #this will create a shape with perfect proportions and fills it
=================
Hope, that will prevent some suicides of desperate coders...  ;)
HotKey - http://www.SPR.AT
это к Ming'у какой-то версии.... глотает все, гифы пнги джапеги... вроде даже бмп
__________________
ушел в ruFlash...