-
Im trying to make a Ecard site without scripting or database where the recipient gets an email with a link ( for ex http://www.pellepiano.com/vykort/god...&ms=I+wish+you )
This link will open my ecard .swf on the server and all variables gets in to the .swf and displays fine on IE and NN for Mac, but on some PCs the browser thinks it needs a plugin and will not display the .swf.
If I dont have any variables in the link it opens fine in PC though. Any ideas why?
( I would rather embed the .swf in html but then I dont know how to get the vaiables into the .swf)
-
Hi,
if you call html page like
card.html?xxxx
you can use javascript inside that html to create the embed code for the swf. _Very much simplified_ code:
document.write('<embed src="card.swf?'+location.search+'" width=400 height=250></embed>');
As for the browser asking for a plugin: tell the server admin to fix the mime types file on the server - it is sending swf files with text/plain, application/octet-string or similar nonsense types
Musicman
-
Wow! Thank you very much. Now I can size my cards too. This is great.