Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

how to send a swf to client (IE)

From: B $B(at)oN4 <$B(at)oN4(B>
Date: Tue Dec 04 2007 - 21:05:45 EST


Hi,
  I have a question.
How to send a flash(.swf) file to IE,
and it will be displayed right.
  I made a server which listening to 192.****.****.****:8080. then I input "http://192.****.****.****:8080/" in the explorer. then when my server received "GET / HTTP/1.0 ... " stuff

     It responsed with "http 1.1 200 OK\n .....content-type:application/x-shockware-flash\n\n"
        ,opened the flash file with "fopen("aaa.swf","rb") "
        and then after wrote the whole file to the socket, close the socket.
  It seems that I made some mistakes since the IE can not display the flash file right. but IE recognized it was a swf file ,since IE called the flash component to try to display it.   now I am quite confused. any hint or suggest will be welcome.   thanks                 

New Design Yahoo! JAPAN 2008/01/01
-- 
To UNSUBSCRIBE, email to debian-apache-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Tue Dec 4 21:12:54 2007

This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 02:59:11 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library