Solved

How do I force IE to refresh flash content in a spry tabbed panel?

Posted on 2009-04-01
2
828 Views
Last Modified: 2013-12-08
I have used a Spry Accordion and inserted flash animations and flash video in various panels.

Firefox and Google Chrome both stop the video/animation on closing the panel then restart it on re-opening.

However IE keeps it running. So if i have a flash animation that is set to stop after running so many frames on closing and re-opening the panel it remains on the last frame.

Likewise with flash videos on closing the accordion panel the video continues to run with audio playing. Is there any javascript I can use to force the content to stop on closing and refresh on opening like all the other browsers?

Sample link:
Appendix 1, Appendix 4, Appendix 5 at www.monkeyplaytest.co.uk
0
Comment
Question by:robhon
2 Comments
 
LVL 10

Accepted Solution

by:
Bane83 earned 250 total points
ID: 24046265
Never used spry accordion.  Is there an "onopening" javascript event or the like?  If not, you can also use an "onclick" event on the div.

When the event is hit use document.getElementById() to retrieve the object element which contains the flash then do

objEl.outerHTML = objEl.outerHTML;
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now