Site homepage working in IE, but NOT in Firefox

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

  1. #1
    The rest of the site works fine, its the homepage that's not working because i reworked it in flash 8. I'm very very new to this and sort of learned as I redesigned.

    When i uploaded the swf file to my hosting file manager, that worked fine in firefox.

    http://www.smoothstitchesembroidery.com/new_smoothstitches_current.swf

    But when i found the source code in IE and plugged it into the index.html file for the homepage, it worked fine in IE but isn't coming up at all in Firefox.

    this is the source code:

    <html><head><script src="res://xpsp3res.dll/objectembed.js"></script></head><body objectSource="http://www.smoothstitchesembroidery.com/new_smoothstitches_current.swf" onload="ObjectLoad();" leftmargin=0 topmargin=0 scroll=no> <form id="objectDestination"></form> </body></html>


    What am i doing wrong???? Thanks for the help!
     
    smoothstitches, Nov 11, 2007 IP
  2. aaron d.

    aaron d. Peon

    Messages:
    37
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I'm not sure why you are using the mebedding method you are, but the reference to the dll is for IE only.

    To embed flash you should use:

    <object width="1024" height="768">
    <param name="movie" value="/new_smoothstitches_current.swf">
    <embed src="/new_smoothstitches_current.swf" width="1024" height="768">
    </embed>
    </object>
    
    Code (markup):
     
    aaron d., Nov 12, 2007 IP
  3. smoothstitches

    smoothstitches Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thank you for the code. i plugged the code in, but now there's a huge white border around the page in both browsers. so, i read other threads and chanced the width and height value to 100%, it helped a bit, but it still not fitting the whole page.
     
    smoothstitches, Nov 12, 2007 IP