  | | | Flash displacements | Flash displacements 2006-09-13 - By Dennis Binsfeld
Back Thank you. Unfortunately it has to work in IE. I have no chance to test it on a Mac.
I need more than 4 charts and as per maani.us there should be no problem to use more than 4 charts.
This is one complete <div> block. I hope this will help a little bit to understand the source. Otherwise I should give the fight up and work with less than 4 charts.
Best regards, Dennis
<div id="body2row1coldatablock1Frame"> <style> /** * The top, bottom, left and right sides are variable width/height * so they need a repeating background image. */ .datablock .top { background-image: url('/MainServlet/skins/Blue/images/frame-top.gif'); } .datablock .sideleft { background-color: white; } .datablock .sideright { background-color: white; } .datablock .bottom { background-color: white; } .datablock .contents { background-image: url('/MainServlet/skins/Blue/images/framecontents-bg.gif'); border-style: none; } /** * Make the row along the top and bottom same height as its * background image or the background repeats. */ .datablock .topleft, .datablock .top, .datablock .topright, .datablock .bottomleft, .datablock .bottom, .datablock .bottomright { height: 9; } </style> <table width="100%" id="body2row1coldatablock1" class="datablock" cellspacing="0" cellpadding="0"> <tr> <td class="topleft"><img src="/MainServlet/skins/Blue/images/frame-tl.png"></td><td class="top"></td><td class="topright"><img src="/MainServlet/skins/Blue/images/frame-tr.png"></td> </tr> <tr valign="middle"> <td class="topside"></td><td width="100%" class="toptitle" align="left"><img src="/MainServlet/skins/Blue/images/header_arrow.png"> <span class="">Service Details</span></td><td class="topside"></td> </tr> <tr> <td class="sideleft"></td><td class="contents"> <div id="body2row1coldatablock1"> <OBJECT ALIGN="" id="gauge" HEIGHT="158" WIDTH="240" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca b#version=6,0,0,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><PARAM VALUE="/MainServlet/swf/gauge.swf?library_path=/MainServlet/swf/&xml_sou rce=/MainServlet/templates/stylesheets/FlashDash/data/GaugeAData.xml%3Fignor eStaticPage%3Dtrue%26uniqueID%3D1158194298390&uniqueID=1158194298390" NAME="movie"><PARAM VALUE="high" NAME="quality"><PARAM VALUE="white" NAME="bgcolor"> <EMBED PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" TYPE="application/x-shockwave-flash" ALIGN="" NAME="gauge" HEIGHT="158" WIDTH="240" bgcolor="white" quality="high" src="/MainServlet/swf/gauge.swf?library_path=/centauri/MainServlet/swf/& xml_source=/MainServlet/templates/stylesheets/FlashDash/data/GaugeAData.xml% 3FignoreStaticPage%3Dtrue%26uniqueID%3D1158194298390" id="myembed"></EMBED> </OBJECT></div> </td><td class="sideright"></td> </tr> <tr> <td class="bottomleft"><img src="/MainServlet/skins/Blue/images/frame-bl.png"></td><td class="bottom"></td><td class="bottomright"><img src="/MainServlet/skins/Blue/images/frame-br.png"></td> </tr> </table> </div>
__ __
From: pro_flash@(protected) [mailto:pro_flash@(protected)] On Behalf Of Becky Kinney Sent: Thursday, September 14, 2006 2:52 AM To: pro_flash@(protected) Subject: Re: [Pro Flash Users] Flash displacements
I can't find any problem in either IE or Firefox. Then again, I never saw a page that displayed 4 charts. The ones I fonud (in the gallery) only had 2 each, but there was no obvious difference from browser to browser. Are you by any chance looking at IE on a Mac?
Becky
-- -- Original Message -- -- From: "dennis_binsfeld" <dennis.binsfeld@ <mailto:dennis.binsfeld%40proxima-tech.com> proxima-tech.com> To: <pro_flash@(protected) <mailto:pro_flash%40yahoogroups.com> ps.com> Sent: Wednesday, September 13, 2006 2:37 AM Subject: [Pro Flash Users] Flash displacements
> I'm having a lot of trouble getting several Flash apps to display > properly in IE. If the apps are displayed individually in a page > they work fine .... but when several are put together in one page, > they render from the middle of the <OBJECT> window, not the top > left. ..... > see attached image (I am using the charts from > http://www.maani. <http://www.maani.us/xml_charts/index.php...> us/xml_charts/index.php... note that the code is > identical for all 4 charts) > > Works fine on firefox..... breaks in IE 5, 6, 7. > > There are suggestions that this is an IE cache problem ....however, > I have tried placing the following tags in my page, but they have no > effect: > > <META HTTP-EQUIV="cache-control" CONTENT="no-cache"> <META HTTP- > EQUIV="pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Expires" > CONTENT="Fri, Jun 12 1981 08:20:00 GMT"> > > The Flash apps retrieve data from an XML file using a URL .... I > have placed a unique ID in that URL to bypass any caching of the XML > file, but this also does not work. > > I still suspect it is a caching issue, but I cant find a workaround. > > Has anyone else had this kind of issue with multiple Flash apps in > IE? > .... any ideas for a solution? > > Thank you > Dennis. > > PS If you want to see the example picture, please have a look at: > http://www.dennisbi <http://www.dennisbinsfeld.de/flash_problem.JPG> nsfeld.de/flash_problem.JPG > > Just have a look in my source code: > <tr> > <td> > <div id="body2row1datablock1"> > <OBJECT ALIGN="" id="gauge" HEIGHT="158" WIDTH="240" > codebase="http://download. <http://download.macromedia.com/pub/shockwave/cabs/flash/swf> macromedia.com/pub/shockwave/cabs/flash/swf > lash.cab#version=6,0,0,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8- > 444553540000"><PARAM VALUE="/swf/gauge.swf? > library_path=/swf/&xml_source=/stylesheets/Flash/data/GaugeAData. > xml%3FignoreStaticPage%3Dtrue%26uniqueID%3D1158104199859" > NAME="movie"><PARAM VALUE="high" NAME="quality"><PARAM VALUE="white" > NAME="bgcolor"> > <EMBED PLUGINSPAGE="http://www.macromed <http://www.macromedia.com/go/getflashplayer> ia.com/go/getflashplayer" > TYPE="application/x-shockwave-flash" ALIGN="" NAME="gauge" > HEIGHT="158" WIDTH="240" bgcolor="white" quality="high" > src="/swf/gauge.swf? > library_path=/swf/&xml_source=/stylesheets/Flash/data/GaugeAData. > xml%3FignoreStaticPage%3Dtrue%26uniqueID%3D1158104199859" > id="myembed2"></EMBED> > </OBJECT> > </div> > </td> > </tr> > > > I use these two templates to create the flash animations: > > <xsl:template name="swf-charts-html"> > <!-- parameters to pass through to this template --> > <xsl:param > name="xml_source_url">/templates/stylesheets/FlashDash/data/Availabil > ityData.xml</xsl:param> > <xsl:param name="width">240</xsl:param> > <xsl:param name="SM_ID"/> > <xsl:param name="height">158</xsl:param> > <xsl:param name="bgcolor">white</xsl:param> > <xsl:param name="SM_ID_string" > select="/page/HttpRequest/Parameters/@(protected)"/> > > > <xsl:variable name="SM_ID_appendage"> > <xsl:choose> > <xsl:when test="$SM_ID_string">%26SM_ID% > 3D<xsl:value-of select="$SM_ID_string"/></xsl:when> > <xsl:otherwise>%26SM_ID%3D<xsl:value-of > select="$SM_ID"/></xsl:otherwise> > </xsl:choose> > </xsl:variable> > <xsl:variable name="dataURI"><xsl:value-of > select="$root"/><xsl:value-of select="$xml_source_url"/>% > 3FignoreStaticPage%3Dtrue<xsl:value-of select="$SM_ID_appendage"/>% > 26uniqueID%3D<xsl:call-template name="currentTime"/></xsl:variable> > > <!-- fascilitate debug --> > <xsl:variable name="debugURI"><xsl:value-of > select="$root"/><xsl:value-of select="$xml_source_url"/>? > ignoreStaticPage=true&showStep=4</xsl:variable> > <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" > > codebase="http://download. <http://download.macromedia.com/pub/shockwave/cabs/f> macromedia.com/pub/shockwave/cabs/f > lash/swflash.cab#version=6,0,0,0" > WIDTH="{$width}" > HEIGHT="{$height}" > id="charts" > ALIGN=""> > <PARAM NAME="movie" VALUE="{$root}/swf/charts.swf? > library_path={$root}/swf/&xml_source={$dataURI}"/> > <PARAM NAME="quality" VALUE="high"/> > <PARAM NAME="bgcolor" VALUE="{$bgcolor}"/> > <EMBED id="myembed" > src="{$root}/swf/charts.swf?library_path= > {$root}/swf/&xml_source={$dataURI}" > scale="noscale" > bgcolor="{$bgcolor}" > WIDTH="{$width}" > HEIGHT="{$height}" > NAME="charts" > ALIGN="" > swLiveConnect="true" > TYPE="application/x-shockwave-flash" > > PLUGINSPAGE="http://www.macromed <http://www.macromedia.com/go/getflashplayer> ia.com/go/getflashplayer"> > </EMBED> > </OBJECT> <a href="{$debugURI}" style="text- > decoration:none;"><img aligh="right" border="1" width="5" > height="1"><xsl:attribute name="src"><xsl:value-of > select="$root"/>/common/images/blank.gif</xsl:attribute></img></a> > </xsl:template> > > <xsl:template name="swf-gauge-html"> > <xsl:param name="xml_source_url"/> > <xsl:param name="width"/> > <xsl:param name="height"/> > <xsl:param name="bgcolor"/> > > <xsl:param name="SM_ID_string" > select="/page/HttpRequest/Parameters/@(protected)"/> > <xsl:variable name="SM_ID_appendage"> > <xsl:choose> > <xsl:when test="$SM_ID_string">%26SM_ID% > 3D<xsl:value-of select="$SM_ID_string"/></xsl:when> > <xsl:otherwise/> > </xsl:choose> > </xsl:variable> > > <xsl:variable name="dataURI">xml_source=<xsl:value-of > select="$root"/><xsl:value-of select="$xml_source_url"/>% > 3FignoreStaticPage%3Dtrue%26uniqueID%3D<xsl:call-template > name="currentTime"/><xsl:value-of > select="$SM_ID_appendage"/></xsl:variable> > <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" > > codebase="http://download. <http://download.macromedia.com/pub/shockwave/cabs/f> macromedia.com/pub/shockwave/cabs/f > lash/swflash.cab#version=6,0,0,0" > WIDTH="{$width}" > HEIGHT="{$height}" > id="gauge" > ALIGN=""> > <PARAM NAME="movie" VALUE="{$root}/swf/gauge.swf? > library_path={$root}/swf/&{$dataURI}"/> > <PARAM NAME="quality" VALUE="high"/> > <PARAM NAME="bgcolor" VALUE="{$bgcolor}"/> > <EMBED id="myembed2" > src="{$root}/swf/gauge.swf?library_path= > {$root}/swf/&{$dataURI}" > quality="high" > bgcolor="{$bgcolor}" > WIDTH="{$width}" > HEIGHT="{$height}" > NAME="gauge" > ALIGN="" > TYPE="application/x-shockwave-flash" > > PLUGINSPAGE="http://www.macromed <http://www.macromedia.com/go/getflashplayer> ia.com/go/getflashplayer"> > </EMBED> > </OBJECT> > </xsl:template> > > > > > > > ========================= > Pro_Flash: Professional Web Developers Using Macromedia Flash > To subscribe: mailto:pro_flash-subscribe <mailto:pro_flash-subscribe%40egroups.com> @(protected) > To UNSUBSCRIBE: mailto:pro_flash-unsubscri <mailto:pro_flash-unsubscribe%40egroups.com> be@(protected) > > Yahoo! Groups Links > > > > > > > > > >
[Non-text portions of this message have been removed]
========================= Pro_Flash: Professional Web Developers Using Macromedia Flash To subscribe: mailto:pro_flash-subscribe@(protected) To UNSUBSCRIBE: mailto:pro_flash-unsubscribe@(protected) Yahoo! Groups Links
<*> To visit your group on the web, go to: http://groups.yahoo.com/group/pro_flash/
<*> Your email settings: Individual Email | Traditional
<*> To change settings online go to: http://groups.yahoo.com/group/pro_flash/join (Yahoo! ID required)
<*> To change settings via email: mailto:pro_flash-digest@(protected) mailto:pro_flash-fullfeatured@(protected)
<*> To unsubscribe from this group, send an email to: pro_flash-unsubscribe@(protected)
<*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
|
|
 |