Closed GoogleCodeExporter closed 9 years ago
this is the original poster again. help me understand and i might be able to do
something. ive been following the code of sefobject.js around, and in dynamic
embedding, the 100% i put in for width and height just end up in the string
"att" and
if the browser is IE, the embed looks like this
el.outerHTML = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"' +
att +
'>' + par + '</object>';
so the flash, unless there was an error caught by swfobject, should look the
same as
it would using static embedding, or if i typed in the html myself.
but here it is plain as day, when i wasn't using dynamic embedding swfobject,
in IE,
the flash was buggy, you could see part of the swf that was off screen to the
right,
and certain mcs and elements were improperly sized and positioned, and hanging
on top
of each other:
http://img40.imageshack.us/img40/1096/58974377.png
heres what the same part is supposed to look, and how it looks when i use
firefox or
dynamic embedding in IE
http://img682.imageshack.us/img682/5566/firefoxa.png
what did swfobject do to fix it?
Original comment by chopfica...@gmail.com
on 6 Apr 2010 at 3:26
i may have come up for a fix for the window.onload problem. i believe the
embedding
is occurring before the resizing in IE. can i use swfobject in conjunction with
a timer?
Original comment by Computer...@gmail.com
on 23 Apr 2010 at 1:01
no that didnt work either
Original comment by Computer...@gmail.com
on 23 Apr 2010 at 1:29
if found a half solution that i am satisfied enoguh with. what you have to do is
trick IE into resizing itself by one pixel about a tenth of a second after the
window
loads, or the user resizes the window. u can usually use resizeBy(-1,-1), but
that
doesnt work for unMaximizing. for that, you have to use a resizeTo(), and for
parameters you have to scan the users screen resolution and use a number
significantly less than that. then you have to use another resizeBy(-1,-1).
this does
not work when the user has more than one tab open, but Fuck IE, there probably
is no
complete solution.
Original comment by Computer...@gmail.com
on 5 May 2010 at 8:05
This does not appear to be a SWFObject issue. Closing thread. If you'd like to
discuss this issue further, please post to the SWFObject Google Group.
Original comment by platelu...@gmail.com
on 7 Nov 2010 at 9:36
Original issue reported on code.google.com by
chopfica...@gmail.com
on 6 Apr 2010 at 8:27