# FLV player component - click to view fullscreen

**URL:** https://forum.kirupa.com/t/flv-player-component-click-to-view-fullscreen/300665
**Category:** flash
**Created:** [November 25, 2009, 10:27am UTC](https://forum.kirupa.com/t/flv-player-component-click-to-view-fullscreen/300665 "2009-11-25T10:27:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sci](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@sci](https://forum.kirupa.com/u/sci)
#### Post date: [November 25, 2009, 10:27am UTC](https://forum.kirupa.com/t/flv-player-component-click-to-view-fullscreen/300665/1 "2009-11-25T10:27:25Z")

</div>

Hey there,

So I’m building a flash presentation and one slide has video. I have a flv component on the stage and the user wants the video to initially appear at a smaller size and then to click on it to launch the movie in fullscreen and to play. The playing is no problem but it doesn’t want to launch fullscreen. Any ideas? Code below:

// VIDEO  
moviePlayer\_mc.fullScreenTakeOver = false;  
moviePlayer\_mc.addEventListener(MouseEvent.CLICK, launchFullScreen);

function launchFullScreen(e:MouseEvent){  
trace(“FULLSCREEN FUNCTION FIRED”);  
moviePlayer\_mc.play();  
//moviePlayer\_mc.enterFullScreenDisplayState();  
moviePlayer\_mc.fullScreenTakeOver = true;  
}

Any help much appreciated.
