Flex_ActionScript3.0——编译警告

by admin on 2020年1月23日
代码 消息 说明
  1009 %s ‘%s’ has no type declaration.
  1013 Variables of type %s cannot be undefined. The value undefined will be type coerced to %s before comparison.
  1031 Migration issue: Result of new %s will be the return value of %s, rather than a new instance of that function.
  1035 Use of Boolean() with no arguments.
  1039 Migration issue: When the Number(”) function is called with an empty string argument it returns 0 in ActionScript 3.0, and NaN in ActionScript 2.0.
  1045 Migration issue: Array.toString() handling of null and undefined elements has changed.
  1059 Migration issue: The property %s is no longer supported. %s.
  1061 Migration issue: The method %s is no longer supported. %s.
  1066 __resolve is no longer supported.
  1067 Migration issue: __resolve is no longer supported. Use the new Proxy class for similar functionality.
  1071 Migration issue: _level is no longer supported. For more information, see the flash.display package.
  1073 Migration issue: %s is not a dynamic class. Instances cannot have members added to them dynamically.
  1083 Migration issue: Method %s will behave differently in ActionScript 3.0 due to the change in scoping for the this keyword. See the entry for warning 1083 for additional information.
  1085 %s will be scoped to the default namespace: %s internal. It will not be visible outside of this package.
  1087 Migration issue: ActionScript 3.0 iterates over an object’s properties within a "for x in target" statement in random order.
  1089 Error code: %s.
  1091 Migration issue: %s
  1093 Negative value used where a uint (non-negative) value is expected.
  1097 Illogical comparison with null. Variables of type %s cannot be null.
  1099 Illogical comparison with NaN. This statement always evaluates to false.
  1101 Assignment within conditional. Did you mean == instead of =?
  1103 null used where a %s value was expected.
  1105 No constructor function was specified for class %s.
  1111 The constant was not initialized.
  1113 Array(x) behaves the same as new Array(x). To cast a value to type Array use the expression x as Array instead of Array(x).
  1115 The super() statement will be executed prior to entering this constructor. Add a call to super() within the constructor if you want to explicitly control when it is executed.
  3552 Appending text to a TextField using += is many times slower than using the TextField.appendText() method.
  3554 Function value used where type %s was expected. Possibly the parentheses () are missing after this function reference.
  3556 The instanceof operator is deprecated, use the is operator instead.
  3574 Migration issue: The ActionScript 2.0 XML class has been renamed XMLDocument.
  3576 Date(x) behaves the same as new Date().toString(). To cast a value to type Date use "x as Date" instead of Date(x).
  3582 Importing a package by the same name as the current class will hide that class identifier in this scope.
  3584 More than one argument named ‘%s’ specified. References to that argument will always resolve to the last one.
  3590 Non-Boolean value used where a Boolean value was expected.
  3591 %s used where a Boolean value was expected. The expression will be type coerced to Boolean.
  3593 %s is not a recognized property of the dynamic class %s.
  3595 %s is not a recognized method of the dynamic class %s.
  3597 Duplicate variable definition.
  3598 Definition name is the same as an imported package name. Unqualified references to that name will resolve to the package and not the definition.
  3599 Definition name is the same as an imported package name. Unqualified references to that name will resolve to the package and not the definition.
  3600 Possible attempt to delete a fixed property.
  3601 The declared property %s cannot be deleted. To free associated memory, set its value to null.
  3602 Use of deprecated definition.
  3603 ‘%s’ has been deprecated.
  3604 Use of deprecated definition.
  3605 %s
  3606 Use of deprecated definition.
  3607 ‘%s’ has been deprecated. Please use ‘%s’.
  3608 Use of deprecated definition.
  3609 ‘%s’ has been deprecated since %s. Please use ‘%s’.
  3610 Use of deprecated definition.
  3611 ‘%s’ has been deprecated since %s.

发表评论

电子邮件地址不会被公开。 必填项已用*标注

网站地图xml地图