Solved

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

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
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.

777 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