Table of Contents

#strict Pragma Flash 5 (undocumented)

activates enhanced conformance to ECMA-26 standard
#strict

Description

An undocumented and volatile feature, the #strict pragma forces the Flash Player to conform more closely to the ECMA-262 specification, upon which ActionScript is based. It affects datatype conversion for the undefined and string datatypes, and it enforces complete case sensitivity.

The #strict pragma is known to crash Internet Explorer on Windows under Flash Player 6 and should therefore not be used. At the time of this writing, Macromedia officially rescinded support for #strict in Flash Player 6.0.61.0 after the public beta test of Flash Player 6.0.60.48 revealed outstanding problems. For more details and the latest information on the status of #strict, see: http://www.moock.org/asdg/technotes/strict.

See Also

Appendix D


Table of Contents