Hi there, I have a Problem with the implementation of the swf in safari unsing the swfObject. When I use the "object" and "embed" tag, my swf works fine, but not with the swfObject. The swf is displayed fine, but none of the buttonscripts work. Within the swf I load an XML (which works fine), generate a couple of movieclips according the XML (works fine, too) and put some scripts on the movieclip. In safari then the scripts are ignored! On all other Browsers I tested it workes fine (mac: opera, firefox; win: iex, opera, firefox).
I think you will need to post your page if you want people to test your specific implentation, as your swfObject codew looks very simple. You do have one issue which I can see from your code you included in your post.
You should move the line <script type="text/javascript" src="swfobject.js"></script> into the <head> area of your HTML document.
I don't have Mac at home, but I can test at work tomorrow if you post the page.
Hi Aran, thanks for your reply. I think I found the problem, though I don't really unserstand it..!
I have this piece of code in my css file to manage the no-flash content (<div id="flashcontent">alternative content</div>): #flashcontent { width: 829px; height: 64px; float: left; background-color:#f2f2f2; }
and when I take this out of the css, everything works fine also on safari - I include it into the css again, nothing works on safari..! strange, but glad I found it!