strict Pragma

ActionScript for Flash MX: The Definitive Guide, 2nd Edition
By Colin Moock
Chapter 18.  ActionScript Language Reference
#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



    ActionScript for Flash MX. The Definitive Guide
    ActionScript for Flash MX: The Definitive Guide, Second Edition
    ISBN: 059600396X
    EAN: 2147483647
    Year: 2002
    Pages: 780
    Authors: Colin Moock

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net