# There is no property with the name 'displayState'

**URL:** <https://forum.kirupa.com/t/there-is-no-property-with-the-name-displaystate/297517>\
**Category:** Uncategorized\
**Created:** [October 3, 2009, 8:26pm UTC](https://forum.kirupa.com/t/there-is-no-property-with-the-name-displaystate/297517 "2009-10-03T20:26:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kohnout](https://avatars.discourse-cdn.com/v4/letter/k/b77776/32.png) [@kohnout](https://forum.kirupa.com/u/kohnout)\
**Post date:** [October 3, 2009, 8:26pm UTC](https://forum.kirupa.com/t/there-is-no-property-with-the-name-displaystate/297517/1 "2009-10-03T20:26:38Z")

</div>

Please try to help me. CS4 shows there is an error “There is no property with the name ‘displayState’.”

Source:  
on (rollOver){  
this.gotoAndPlay(“s1”);  
}  
on (rollOut){  
this.gotoAndPlay(“s2”);  
}  
on (release){  
if (Stage.displayState == “normal”){  
Stage.displayState = “fullScreen”;  
} else {  
Stage.displayState = “normal”;  
} // end else if  
}

Thank you for any help…
