Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2009-04-01
2
Medium Priority
?
844 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 10

Accepted Solution

by:
Bane83 earned 1000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
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 demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

597 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