IE6 "operation aborted" dynamic embed

0 views
Skip to first unread message

LouisK

unread,
Jul 22, 2008, 4:06:27 AM7/22/08
to SWFObject
I'm using the dynamic embed method and only in IE6 I keep getting the
"operation aborted" error. I have 2 flash movies beneath each other.
It works in all browsers except IE6. What's wrong? When I take away
the code, the page loads fine.

Here is my embed code (this is in the HEAD of the page).
--------------------------------------------------------------------
<script type="text/javascript">
var flashvars = {};
flashvars.xmlfile = "imageadmin/images.php?album=1";

var params = {};
params.allowScriptAccess = "always";
params.wmode = "transparent";

var attributes = {};

swfobject.embedSWF("uploads/media/gallery.swf", "gallery", "460",
"460", "8.0.0", "uploads/media/expressInstall.swf", flashvars, params,
attributes);
</script>

<script type="text/javascript">{literal}
var flashvars = {};
flashvars.width = "460";
flashvars.height = "150";
flashvars.file = "playlist.xml";
flashvars.backcolor = "0xFFFFFF";
flashvars.frontcolor = "0x666666";
flashvars.lightcolor = "0x888888";
flashvars.screencolor = "0xEEEEEE";
flashvars.displaywidth = "130";
flashvars.overstretch = "fit";
flashvars.showicons = "false";
flashvars.showdigits = "false";
flashvars.usefullscreen = "false";
flashvars.autoscroll = "true";
flashvars.showdownload = "true";
flashvars.thumbsinplaylist = "false";
flashvars.shuffle = "false";

var params = {};
params.allowScriptAccess = "always";
params.allowfullscreen = "false";
params.wmode = "transparent";
params.base = ".";

var attributes = {};

swfobject.embedSWF("uploads/media/mediaplayer.swf", "player", "460",
"150", "8.0.0", "uploads/media/expressInstall.swf", flashvars, params,
attributes);
</script>
---------------------------

Bobby

unread,
Jul 22, 2008, 5:54:54 AM7/22/08
to SWFObject
Can you include a link to a test page, for these type of errors we
should know the complete context, including all other JavaScript
included.

LouisK

unread,
Jul 23, 2008, 5:57:09 AM7/23/08
to SWFObject
Thx for your reply!

www.suze.nl is the website.
It has the mootools javascript frame work and a mootools based
lightbox script (squeezebox).

Bobby

unread,
Jul 23, 2008, 12:29:53 PM7/23/08
to SWFObject
- nesting of the page is correct
- uses base tag which probably causes the issue: please read q4 of the
faq: http://code.google.com/p/swfobject/wiki/faq
- if the base tag solution doesn't solve it: please create a new test
page without any other JS functions included besides SWFObject and
check if you can reproduce the error

LouisK

unread,
Jul 23, 2008, 1:31:19 PM7/23/08
to SWFObject
YES! You are amazing for pointing me in the right direction!!! I have
been breaking my back on this issue. I can't understand why I didn't
read the FAQ's.. stupid me :s
Reply all
Reply to author
Forward
0 new messages