s j
unread,Mar 22, 2012, 12:50:17 PM3/22/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nod...@googlegroups.com
Hello,
When i embed a swf file on an html file, and try to serve it through node js server, the swf file doesn't appear. how can i fix this?
(the callhttpservice.html file has the swf embedded on it, attached is the html page)
var fs = require('fs');
var server = require('http').createServer(function(req, response){
fs.readFile(__dirname + '/callhttpservice.html', function (err, data) {
response.writeHead(200, {'Content-Type':'text/html'});
response.write(data);
response.end();
});
});
server.listen(8080);
thanks for your help