# Flash to start playing when div is made visible in javascript

**URL:** <https://forum.kirupa.com/t/flash-to-start-playing-when-div-is-made-visible-in-javascript/271609>\
**Category:** flash\
**Created:** [September 25, 2008, 11:00am UTC](https://forum.kirupa.com/t/flash-to-start-playing-when-div-is-made-visible-in-javascript/271609 "2008-09-25T11:00:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![onion](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/onion/32/3349_2.png) [@onion](https://forum.kirupa.com/u/onion)\
**Post date:** [September 25, 2008, 11:00am UTC](https://forum.kirupa.com/t/flash-to-start-playing-when-div-is-made-visible-in-javascript/271609/1 "2008-09-25T11:00:16Z")

</div>

I have some javascript on some text links that displays a new flash banner when I rollover the link. Thisbasically just hides/shows one of several flash animations on the page. When I first go to the page and rolloever a link, the flash will animate. But then when I revisit a link the flash will remain static, as if it has finished it’s animation and now won’t start again.

How can I tell flash that the focus is on it again, and to start animating again?
