# Problem with flv and actionscript 3

**URL:** <https://forum.kirupa.com/t/problem-with-flv-and-actionscript-3/248662>\
**Category:** flash\
**Created:** [January 10, 2008, 2:56pm UTC](https://forum.kirupa.com/t/problem-with-flv-and-actionscript-3/248662 "2008-01-10T14:56:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![timdenty](https://avatars.discourse-cdn.com/v4/letter/t/ecccb3/32.png) [@timdenty](https://forum.kirupa.com/u/timdenty)\
**Post date:** [January 10, 2008, 2:56pm UTC](https://forum.kirupa.com/t/problem-with-flv-and-actionscript-3/248662/1 "2008-01-10T14:56:54Z")

</div>

I’m trying to turn off the full screen default for flv video in as3, and have written the following code on frame 1 of my Fla.

stage.displayState = StageDisplayState.FULL\_SCREEN;  
import flash.system.fscommand;  
fscommand(“allowscale”, “false”);  
video1.fullScreenTakeOver = false

This achieves what I want on opening my exported projector - the flv on frame 1 displays correctly.

However when I click to move to another keyframe, and then return to the flv keyframe - the video reverts to fullscreen. It seems to ignore the ‘fullScreenTakeOver = false’ when you start moving around the timeline.

Has anyone got any ideas on how to remedy this? Perhaps some kind of global flv listener - wouldn’t know where to start coding this in as3 though.
