Skip to main content
June 15, 2010
Answered

flash in html

  • June 15, 2010
  • 2 replies
  • 561 views

Hi. I have a problem I have noticed, especially in internet explorer. Sometimes the flash movies I have embedded do not display in their correct location. It works fine on my laptop on all browsers, but other people have had problems. I dont know if this is because they have bigger screen resolutions or something like that. Is there any reason why a flash movie would move out of place?

cheers

This topic has been closed for replies.
Correct answer

It wouldn't be the Flash, it'd be your HTML / CSS. I would suggest using SWFObject to embed.http://code.google.com/p/swfobject/

2 replies

Known Participant
June 15, 2010

How are you positioning this swf file?  I like to put all my DIV's inside of one 'wrapper' DIV and then use the position:absolute option to control exactly where they appear.  I've seen some variations between how FireFox and IE display pages, but once I started positioning everything absolutely the differences have decreased.  Consider putting your swf in a div of it's own and then positioning that DIV absolutely.

www.FuzzyMonkeyTabs.com <--- Free guitar lessons.

Correct answer
June 15, 2010

It wouldn't be the Flash, it'd be your HTML / CSS. I would suggest using SWFObject to embed.http://code.google.com/p/swfobject/

June 15, 2010

Thats what I was thinking, to use SWFObject instead of embed.  Would this stop any mishaps like this from happening?

June 15, 2010

It certainly should help - SWFObject places the flash inside a div element, but the div's position and such will be goverened by your CSS.