A Flash Developer Resource Site

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,150
    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)

  2. #2
    Moderator
    Join Date
    Feb 2001
    Posts
    13,042
    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

  3. #3
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,150
    Wow! Thank you very much. Now I can size my cards too. This is great.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts




Click Here to Expand Forum to Full Width


HTML5 Development Center