# Controlling a .flv from a.swf

**URL:** <https://forum.kirupa.com/t/controlling-a-flv-from-a-swf/290345>\
**Category:** flash\
**Created:** [June 13, 2009, 1:33am UTC](https://forum.kirupa.com/t/controlling-a-flv-from-a-swf/290345 "2009-06-13T01:33:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gardenspray](https://avatars.discourse-cdn.com/v4/letter/g/b77776/32.png) [@gardenspray](https://forum.kirupa.com/u/gardenspray)\
**Post date:** [June 13, 2009, 1:33am UTC](https://forum.kirupa.com/t/controlling-a-flv-from-a-swf/290345/1 "2009-06-13T01:33:34Z")

</div>

Hi I am really crap at actionscript so I would appreciate help with this last bit of code before my project is finished. I have been working in actionscript 2, cause I just don’t get 3.

I have a external .flv movie, that loads as a full screen background movie on the main stage. Using the Netstream class and the instance name of ‘netStream’ I just want to be able to pause/play this movie when the user click on a button. The button is inside a movieclip.

I thought something like this:

on (press) {

netStream.pause(“[http://www.website.com/background.flv](http://www.website.com/background.flv)”);  
}

but nothing

Any ideas?
