# How to Stop Video in AS3.0

**URL:** <https://forum.kirupa.com/t/how-to-stop-video-in-as3-0/324303>\
**Category:** flash\
**Created:** [August 13, 2011, 11:31am UTC](https://forum.kirupa.com/t/how-to-stop-video-in-as3-0/324303 "2011-08-13T11:31:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![webtechms](https://avatars.discourse-cdn.com/v4/letter/w/8e8cbc/32.png) [@webtechms](https://forum.kirupa.com/u/webtechms)\
**Post date:** [August 13, 2011, 11:31am UTC](https://forum.kirupa.com/t/how-to-stop-video-in-as3-0/324303/1 "2011-08-13T11:31:10Z")

</div>

Hi, If any one can help me My major problem is How to stop video playing . example:-- I have 4 swf. and one main file. in which all 4 swf is loading when I click on relevant link. but when I click on video(btn). the video.swf is loaded. in this file everything is fine. like when I click on other video thumb. the sound is stop by using:-- player.stopVideo() method. But when I go in another page by clicking on other btns. the page is loading. but video is not stopped. Means in background the video is playing. For this I used a function named stopVideo in main file. but it didn’t work. here is the code:-- function vdoStop(e:MouseEvent) { MovieClip(this.parent.parent).movie\_loader.holder.player.stopVideo(); } b2.buttonMode=true; b2.addEventListener(MouseEvent.CLICK, vdoStop); note:-- movie\_loader is empty movieClip in which the swf is loading. and holder is in video file. so I am trying to access the property of the video file from the main file. This method works fine in AS2.0 using \_parent.\_parent But didn’t work in AS 3.0. I am really fighting with this problem and yet didn’t get solution.
