title: Embeded Flash in asp.net accordian performs poorly
body: <p>I'm using the ajax toolkit accordion extender and I notice it performs a little "funky" when I try to embed some flash in the content sections.</p>
  
  <p>You can see what I have working now at  : <a href="http://kristinsconfections.com/gallery.aspx" rel="nofollow noreferrer">http://kristinsconfections.com/gallery.aspx</a>.
  As you can see when you toggle the accordion it's a little choppy.  I'm pulling the flash slideshow from flickr so I can't control that at all.  The site is only for a friend who is trying to become a baker so it's not high priority just highly frustrating!!  Anything I can do using javascript, .net or even jquery??</p>
  
  <p>Here is the exact code I am using on that page:</p>
  
  <pre><code>&lt;cc1:Accordion ID="MyAccordion" runat="server" SelectedIndex="0"
          HeaderCssClass="accordionHeader" ContentCssClass="accordionContent"
          FadeTransitions="true" FramesPerSecond="40" TransitionDuration="250" AutoSize="None"&gt;
          &lt;Panes&gt;
              &lt;cc1:AccordionPane ID="pnlCakes" runat="server"&gt;
                  &lt;Header&gt;&lt;div &gt;&lt;span style="float:left;"&gt;Cakes&lt;/span&gt;&lt;/div&gt;&lt;/Header&gt;
                  &lt;Content&gt;
                      &lt;object width="572" height="429" type="application/x-shockwave-flash"
                       data="http://www.flickr.com/apps/slideshow/show.swf?v=67089"&gt; 
                      &lt;param name="flashvars" value="&amp;offsite=true&amp;amp;lang=en-us&amp;page_show_url=%2Fphotos%2F28792515%40N08%2Fsets%2F72157612640424865%2Fshow%2F&amp;page_show_back_url=%2Fphotos%2F28792515%40N08%2Fsets%2F72157612640424865%2F&amp;set_id=72157612640424865&amp;jump_to=" /&gt;
                      &lt;param name="allowFullScreen" value="true" /&gt;
                      &lt;param name="movie" value="http://www.flickr.com/apps/slideshow/show.swf?v=67089" /&gt;
                      &lt;/object&gt;
                  &lt;/Content&gt;
              &lt;/cc1:AccordionPane&gt;
               &lt;cc1:AccordionPane ID="pnlCookies" runat="server"&gt;
                  &lt;Header&gt;&lt;div &gt;&lt;span style="float:left;"&gt;Cookies&lt;/span&gt;&lt;/div&gt;&lt;/Header&gt;
                  &lt;Content&gt;
                   &lt;object width="572" height="429"  type="application/x-shockwave-flash"
                   data="http://www.flickr.com/apps/slideshow/show.swf?v=67089"&gt; 
                  &lt;param name="flashvars" value="&amp;offsite=true&amp;amp;lang=en-us&amp;page_show_url=%2Fphotos%2F28792515%40N08%2Fsets%2F72157612640405779%2Fshow%2F&amp;page_show_back_url=%2Fphotos%2F28792515%40N08%2Fsets%2F72157612640405779%2F&amp;set_id=72157612640405779&amp;jump_to=" /&gt;
                  &lt;param name="allowFullScreen" value="true" /&gt;
                  &lt;param name="movie" value="http://www.flickr.com/apps/slideshow/show.swf?v=67089" /&gt;
                  &lt;/object&gt;
                  &lt;/Content&gt;
              &lt;/cc1:AccordionPane&gt;
              &lt;cc1:AccordionPane ID="pnlCupcakes" runat="server"&gt;
                  &lt;Header&gt;&lt;div &gt;&lt;span style="float:left;"&gt;Cupcakes&lt;/span&gt;&lt;/div&gt;&lt;/Header&gt;
                  &lt;Content&gt;
                  &lt;object width="572" height="429"  type="application/x-shockwave-flash"
                   data="http://www.flickr.com/apps/slideshow/show.swf?v=67089"&gt; 
                  &lt;param name="flashvars" value="&amp;offsite=true&amp;amp;lang=en-us&amp;page_show_url=%2Fphotos%2F28792515%40N08%2Fsets%2F72157612589253131%2Fshow%2F&amp;page_show_back_url=%2Fphotos%2F28792515%40N08%2Fsets%2F72157612589253131%2F&amp;set_id=72157612589253131&amp;jump_to=" /&gt;
                  &lt;param name="allowFullScreen" value="true" /&gt;
                  &lt;param name="movie" value="http://www.flickr.com/apps/slideshow/show.swf?v=67089" /&gt;
                  &lt;/object&gt;
                  &lt;/Content&gt;
              &lt;/cc1:AccordionPane&gt;
          &lt;/Panes&gt;
  &lt;/cc1:Accordion&gt;
  </code></pre>