Показать сообщение отдельно
Старый 07.11.2008, 14:05
iNils вне форума Посмотреть профиль Отправить личное сообщение для iNils Посетить домашнюю страницу iNils Найти все сообщения от iNils
  № 9  
Ответить с цитированием
iNils
Негуру
 
Аватар для iNils

администратор
Регистрация: Jan 2000
Адрес: Кёнигсберг in Moscow
Сообщений: 21,884
Записей в блоге: 7
Ищем в Flex SDK файл /frameworks/flex-config.xml у него в ветке <compiler> есть набор варнингов
Код:
<!-- Array.toString() format has changed. -->
<warn-array-tostring-changes>false</warn-array-tostring-changes>

<!-- Assignment within conditional. -->
<warn-assignment-within-conditional>true</warn-assignment-within-conditional>

<!-- Possibly invalid Array cast operation. -->
<warn-bad-array-cast>true</warn-bad-array-cast>

<!-- Non-Boolean value used where a Boolean value was expected. -->
<warn-bad-bool-assignment>true</warn-bad-bool-assignment>

<!-- Invalid Date cast operation. -->
<warn-bad-date-cast>true</warn-bad-date-cast>

<!-- Unknown method. -->
<warn-bad-es3-type-method>true</warn-bad-es3-type-method>

<!-- Unknown property. -->
<warn-bad-es3-type-prop>true</warn-bad-es3-type-prop>

<!-- Illogical comparison with NaN. Any comparison operation involving NaN will evaluate to false because NaN != NaN. -->
<warn-bad-nan-comparison>true</warn-bad-nan-comparison>

<!-- Impossible assignment to null. -->
<warn-bad-null-assignment>true</warn-bad-null-assignment>

<!-- Illogical comparison with null. -->
<warn-bad-null-comparison>true</warn-bad-null-comparison>

<!-- Illogical comparison with undefined. Only untyped variables (or variables of type *) can be undefined. -->
<warn-bad-undefined-comparison>true</warn-bad-undefined-comparison>

<!-- Boolean() with no arguments returns false in ActionScript 3.0. Boolean() returned undefined in ActionScript 2.0. -->
<warn-boolean-constructor-with-no-args>false</warn-boolean-constructor-with-no-args>

<!-- __resolve is no longer supported. -->
<warn-changes-in-resolve>false</warn-changes-in-resolve>

<!-- Class is sealed. It cannot have members added to it dynamically. -->
<warn-class-is-sealed>true</warn-class-is-sealed>

<!-- Constant not initialized. -->
<warn-const-not-initialized>true</warn-const-not-initialized>

<!-- Function used in new expression returns a value. Result will be what the -->
<!-- function returns, rather than a new instance of that function.           -->
<warn-constructor-returns-value>false</warn-constructor-returns-value>

<!-- EventHandler was not added as a listener. -->
<warn-deprecated-event-handler-error>false</warn-deprecated-event-handler-error>

<!-- Unsupported ActionScript 2.0 function. -->
<warn-deprecated-function-error>true</warn-deprecated-function-error>

<!-- Unsupported ActionScript 2.0 property. -->
<warn-deprecated-property-error>true</warn-deprecated-property-error>

<!-- More than one argument by the same name. -->
<warn-duplicate-argument-names>true</warn-duplicate-argument-names>

<!-- Duplicate variable definition -->
<warn-duplicate-variable-def>true</warn-duplicate-variable-def>

<!-- ActionScript 3.0 iterates over an object's properties within a "for x in target" statement in random order. -->
<warn-for-var-in-changes>false</warn-for-var-in-changes>

<!-- Importing a package by the same name as the current class will hide that class identifier in this scope. -->
<warn-import-hides-class>true</warn-import-hides-class>

<!-- Use of the instanceof operator. -->
<warn-instance-of-changes>true</warn-instance-of-changes>

<!-- Internal error in compiler. -->
<warn-internal-error>true</warn-internal-error>

<!-- _level is no longer supported. For more information, see the flash.display package. -->
<warn-level-not-supported>true</warn-level-not-supported>

<!-- Missing namespace declaration (e.g. variable is not defined to be public, private, etc.). -->
<warn-missing-namespace-decl>true</warn-missing-namespace-decl>

<!-- Negative value will become a large positive value when assigned to a uint data type. -->
<warn-negative-uint-literal>true</warn-negative-uint-literal>

<!-- Missing constructor. -->
<warn-no-constructor>false</warn-no-constructor>

<!-- The super() statement was not called within the constructor. -->
<warn-no-explicit-super-call-in-constructor>false</warn-no-explicit-super-call-in-constructor>

<!-- Missing type declaration. -->
<warn-no-type-decl>true</warn-no-type-decl>

<!-- In ActionScript 3.0, white space is ignored and '' returns 0. Number() returns -->
<!-- NaN in ActionScript 2.0 when the parameter is '' or contains white space.      -->
<warn-number-from-string-changes>false</warn-number-from-string-changes>

<!-- Change in scoping for the this keyword. Class methods extracted from an  -->
<!-- instance of a class will always resolve this back to that instance. In   -->
<!-- ActionScript 2.0 this is looked up dynamically based on where the method -->
<!-- is invoked from.                                                         -->
<warn-scoping-change-in-this>false</warn-scoping-change-in-this>

<!-- Inefficient use of += on a TextField.-->
<warn-slow-text-field-addition>true</warn-slow-text-field-addition>

<!-- Possible missing parentheses. -->
<warn-unlikely-function-value>true</warn-unlikely-function-value>

<!-- Possible usage of the ActionScript 2.0 XML class. -->
<warn-xml-class-has-changed>false</warn-xml-class-has-changed>
Для Flash IDE можно также отредактировать в папке Program Files/Adobe/Adobe Flash CS3/en/Configuration/ActionScript/EnabledWarnings.xml
__________________
(и)Нильс.ru | Плагины для FlashDevelop