# Returning displaystate to normal

**URL:** https://forum.kirupa.com/t/returning-displaystate-to-normal/285426
**Category:** Uncategorized
**Created:** [March 31, 2009, 5:44pm UTC](https://forum.kirupa.com/t/returning-displaystate-to-normal/285426 "2009-03-31T17:44:24Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![spyderfx](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@spyderfx](https://forum.kirupa.com/u/spyderfx)
#### Post date: [March 31, 2009, 5:44pm UTC](https://forum.kirupa.com/t/returning-displaystate-to-normal/285426/1 "2009-03-31T17:44:24Z")

</div>

I’m trying to make it so when an FLV stops playing the swf goes back to normal screen mode. I can’t figure out why its not working, I can’t really figure out what variable I should check to make it work. This is what I have so far

function windowReturn() {  
if (\_root.getBytesTotal() == 0) {  
Stage[“displayState”] = “normal”;  
\_root.fullScreen\_butt.gotoAndStop(1);  
}  
}
