embedded swf in a PDF - How to upload it using HTML?

Discussion in 'HTML & JavaScript' started by Fadi946, May 21, 2013.

  1. Fadi946

    Fadi946 Power Member

    Mar 25, 2009
    Likes Received:
    With my parents :(
    I just wrote the question in the title...
    I created a PDF with SWF games inside it and sound and everything. (I used Adobe Acrobat to put the SWF into the PDF)
    My problem is, when I put it on my website using this code:
    object data="pdfBooks/<?php echo $book;?>" type="application/pdf" width="100%" height="100%">   <p>It appears you don't have a PDF plugin for this browser.  No biggie... you can <a href="pdfBooks/<?php echo $book;?>">click here to  download the PDF file.</a></p>  </object>
    The book appears and everything is fine, but the games don't work+Sound doesn't play on click.

    Does anyone have any idea how to get it to work? It looks simple but I couldn't find any solution!

    Thank you so much! I'm hoping for a savior!