Solved

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

Posted on 2009-04-01
2
818 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

I had to do a bit of research to find the answer to this question so I thought I'd share my results.  Due to our outdated mainframe systems, we need to downgrade IE9 to IE8 in order to stay compatible.  We also needed to downgrade Java.  In order to…
#Citrix #Internet Explorer #Enterprise Mode #IE 11 #IE 8
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.

747 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

7 Experts available now in Live!

Get 1:1 Help Now