# AS3: Video keeps creating another instance of itself on entering frame

**URL:** https://forum.kirupa.com/t/as3-video-keeps-creating-another-instance-of-itself-on-entering-frame/270215
**Category:** flash
**Created:** [September 6, 2008, 6:30pm UTC](https://forum.kirupa.com/t/as3-video-keeps-creating-another-instance-of-itself-on-entering-frame/270215 "2008-09-06T18:30:38Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![pegasos](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@pegasos](https://forum.kirupa.com/u/pegasos)
#### Post date: [September 6, 2008, 6:30pm UTC](https://forum.kirupa.com/t/as3-video-keeps-creating-another-instance-of-itself-on-entering-frame/270215/1 "2008-09-06T18:30:38Z")

</div>

Hey guys,

I have been looking around but couldn’t find a good tutorial or solution to my problem.

I have a slideshow type application (for my portfolio website). I have 4 “slides”. I wanted to use video, I added it on slide #3, and it plays fine, control buttons seem to be connected, but when I click to go to the next slide, without pausing the video, it still keeps playing…, even though there is no instance of the flv playback on that frame. If I go back to the video slide, a new video starts on the top of the old one…

On exit from the slide I would like the video to stop. And on re-entering the frame the video would just sit there, after clicking play/pause it would resume.

if anyone could, please point me in a right direction or tutorial or solution, I’d be grateful.  
thanks.
