Forum Moderators: open

Message Too Old, No Replies

Flash object shifted in IE

         

tnunemac

7:38 pm on Jan 11, 2006 (gmt 0)



I have a puzzling issue. I have a charting Flash object (PHP/SWF Charts 4.5) which I use 8 times on a page, for 8 different charts. 4 of these charts are on one div layer. 4 others are on a second div layer, initially hidden under the first. It can be "tabbed" to, using javascript. These all display perfectly in Firefox.

However, in IE6, they only display properly every time if they load in the visible portion of the browser window. Sometimes they display perfectly, but sometimes, and it appears to happen almost at random, the charts at the bottom of each div layer, outside the visible portion of the browser window, will load shifted down and right almost completely off their respective stage areas, which are defined in an old-fashioned way using table cells. When they load improperly, only the upper left corners of the charts are visible, in the lower right portion of the stage. If one scrolls down, then reloads the page, they display properly. And it doesn't seem to matter which div layer happens to be visible at the time.

Additionally, if the URL is typed in, then the browser window is hidden or tucked behind another application window, the Flash objects tend to show up shifted, only in IE.

Here's one of the <object> tags:


<OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' WIDTH=360 HEIGHT=205 id='charts' ALIGN='left' style='text-align:left'> <PARAM NAME=movie VALUE='/common/chart/charts.swf?[licensing info and other query params here]'> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#EEEEEE> <EMBED src='/common/chart/charts.swf?[licensing info and other query params here]' quality=high bgcolor=#EEEEEE WIDTH=360 HEIGHT=205 NAME='charts' ALIGN='left' style='text-align:left' swLiveConnect='true' TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/go/getflashplayer'></EMBED></OBJECT>

I've tried setting alignments on my containing table cells and in my object/embed tags, but it seems to have no bearing on the issue.

Anyone seen anything like this? Bizarre.

-Tyson