swf chart not displayed in chrome -


i want display chart of swf type. displayed proeprly in firefox , ie in chrome not displayed. in chrome chart displayed after click on chart div. data chart loaded displayed on click.

my code is:

<?php  $link = "/flash/chart.swf?thexml=".urlencode(url_for('@chartcompare?series='.$seriesname.'&id='.$seriesid.'&source='.$sourcename,true)); ?>  <div style="margin-top:10px; margin-bottom:10px">  <object style="z-index:-1" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="560" height="180" id="chart" align="middle" >   <param name="allowscriptaccess" value="samedomain" />   <param name="allowfullscreen" value="false" />   <param name="wmode" value="transparent">   <param name="movie" value="<?php  echo $link; ?>" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />   <embed src="<?php echo $link; ?>" wmode="transparent" quality="high" bgcolor="#ffffff" width="560" height="180" name="chart" align="middle" allowscriptaccess="samedomain" allowfullscreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />  </object> </div> 

anybody have idea? ...thanks in advance.

try removing param movie, worked me. it's kind of hack turn off line if chrome (or can try !ie since firefox doesn't need either).

others have had luck swfobject loading: http://www.adobe.com/devnet/flashplayer/articles/swfobject.html


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -