Is there a better swf embedding code???

Discussion in 'HTML & Website Design' started by smoothstitches, Nov 14, 2007.

  1. #1
    hi,

    I .swf file fills up the whole page perfectly when i type in the url for the file itself.... http://www.smoothstitchesembroidery.com/new_smoothstitches_ultimate_finale.swf

    it comes up perfectly on IE, safari and firefox. But when i use this embedding code for it in my index.html, it comes up with a half inch white border around it. so, i made the background red to fill it up, but now a border comes up around it in IE that makes it manditory to click on it before some of the features work. can anyone help?? this is the current code i have in my index.html file. thanks!


    <body bgcolor="#FF0000">
    <object width="100%" height="100%">
    <param name="movie" value="/new_smoothstitches_ultimate_finale.swf">
    <embed src="/new_smoothstitches_ultimate_finale.swf" width="100%" height="100%">
    </embed>
    </object>

    <body bgcolor="#FF0000">
     
    smoothstitches, Nov 14, 2007 IP
  2. mikeyd

    mikeyd Peon

    Messages:
    39
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    The best way i have found to embed flash content is from the site - blog.deconcept.com/swfobject/

    check it out and see if it helps you
     
    mikeyd, Nov 15, 2007 IP