[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

how to send a swf to client (IE)



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

Reply to: