Compiler warning messages identify code that is valid and compiles successfully, but
may not be what the author intended. To enable detecting these possible problems, compile ActionScript projects in warning mode.
Some of these warnings (for example, "Missing type declaration.") are coding style choices that you have the option whether to enforce.
Others (for example, "Impossible assignment to null.") point out statements that are valid, but are unlikely to behave as the user
expects. A third class of warnings covers issues you may encounter when porting ActionScript 2.0 code to ActionScript 3.0.
| Code | Message | Description |
---|
| 1008 | Missing type declaration. | |
| 1009 | %s '%s' has no type declaration.
|
Not declaring a data type is a coding style preference. A function return type, parameter, or variable has no type declaration.
However, using type declarations enables the compiler to write more efficient code, as well as detect more errors at compile time.
Enable this warning if you want to be reminded when you fail to use a type declaration.
|
| 1012 | Illogical comparison with undefined. Only untyped variables (or variables of type *) can be undefined. | |
| 1013 | Variables of type %s cannot be undefined. The value undefined will be type coerced to %s before comparison.
|
Only variables of type * can be undefined. With a few exceptions, uninitialized variables have a default value of null rather than undefined .
The exceptions include: Boolean variables, which have a default value of false . Number variables, which have a default value of NaN , and int or uint variables, which have a default value of 0 .
|
| 1030 | Function used in new expression returns a value. Result will be what the function returns, rather than a new instance of that function. | |
| 1031 | Migration issue: Result of new %s will be the return value of %s, rather than a new instance of that function.
|
This is a code migration warning. The detected code behaves differently in ActionScript 3.0 than in ActionScript 2.0, as shown in the following example:
function f(){
this.b = 22;
this.a = new Array(2);Â
this.a[0] = 33;
this.a[1] = 44;
return a;
}
// returns a new instance of f in ActionScript 2.0 and a new 2 element array in ActionScript 3.0
var d = new f();Â // Warning here
trace(d.a); // undefined in ActionScript 3.0, [33,44] in ActionScript 2.0.
|
| 1034 | Boolean() with no arguments returns false in ActionScript 3.0. Boolean() returned undefined in ActionScript 2.0. | |
| 1035 | Use of Boolean() with no arguments.
|
This is a code migration warning. The Boolean() function returns false in ActionScript 3.0, but undefined in ActionScript 2.0.
|
| 1038 | 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. | |
| 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.
|
This is a code migration warning. The Number() method called with a String argument skips over all white space in the string and return a default value of 0 if no digits are detected.
In ActionScript 2.0, any white space in the string causes the result to be NaN.
|
| 1044 | Array.toString() format has changed. | |
| 1045 | Migration issue: Array.toString() handling of null and undefined elements has changed.
|
This is a code migration warning. In ActionScript 2.0, null array elements convert to null and undefined elements convert to undefined .
In ActionScript 3.0, both null and undefined elements convert to the empty string ''. If you have code that parses the toString() output from an Array,
you may need to adjust your code for this difference.
|
| 1058 | Unsupported ActionScript 2.0 property. | |
| 1059 | Migration issue: The property %s is no longer supported. %s.
|
This is a code migration warning. The property you are attempting to use does not exist in ActionScript 3.0.
|
| 1060 | Unsupported ActionScript 2.0 function. | |
| 1061 | Migration issue: The method %s is no longer supported. %s.
|
This is a code migration warning. The method you are attempting to use does not exist in ActionScript 3.0.
|
| 1066 | __resolve is no longer supported. | |
| 1067 | Migration issue: __resolve is no longer supported. Use the new Proxy class for similar functionality.
|
This is a code migration warning. See Proxy in this language reference for more information on the replacement for __resolve .
|
| 1070 | _level is no longer supported. For more information, see the flash.display package. | |
| 1071 | Migration issue: _level is no longer supported. For more information, see the flash.display package.
|
This is a code migration warning. The property you are attempting to use does not exist in ActionScript 3.0.
|
| 1072 | Class is sealed. It cannot have members added to it dynamically. | |
| 1073 | Migration issue: %s is not a dynamic class. Instances cannot have members added to them dynamically.
|
This is a code migration warning. In ActionScript 2.0, many classes such as Number are dynamic, which means that new properties can
be added to instances of those classes at run time. This warning results from code that tries to add a property to an instance of a non-dynamic class.
|
| 1082 | 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. | |
| 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.
|
This is a code migration warning. This warning is generated when a method of an object is used as a value, usually as a callback function.
In ActionScript 2.0, functions are executed in the context they are called from. In ActionScript 3.0, functions are always
executed in the context where they were defined. Thus, variable and method names are resolved to the class that the callback is part of, rather
than relative to the context it is called from, as in the following example:
class a
{
var x;
function a() { x = 1; }
function b() { trace(x); }
}
var A:a = new a();
var f:Function = a.b; // warning triggered here
var x = 22;
f(); // prints 1 in ActionScript 3.0, 22 in ActionScript 2.0
|
| 1084 | Missing namespace declaration (e.g. variable is not defined to be public, private, etc.). | |
| 1085 | %s will be scoped to the default namespace: %s internal. It will not be visible outside of this package.
|
Not declaring a namespace is a coding style preference. Enable this warning if you want to be reminded when you forget to declare a namespace or access specifier for a definition.
Without one, the definition is not visible to code located outside of this file. To make it visible to code outside this file, declare it with the access specifier public or with
a namespace declaration. To keep the definition local to this file and avoid this warning, declare the definition as private .
|
| 1086 | ActionScript 3.0 iterates over an object's properties within a "for x in target" statement in random order. | |
| 1087 | Migration issue: ActionScript 3.0 iterates over an object's properties within a "for x in target" statement in random order.
|
This is a code migration warning. In ActionScript 2.0, the order in which the properties of an object were processed was always the same.
In ActionScript 3.0, the order is random and can change from machine to machine. If unexpected ordering behavior occurs, inspect this loop to determine if this change in behavior may affect your code.
|
| 1088 | Internal error in compiler. | |
| 1089 | Error code: %s.
|
This is due to either a corrupt source file or a bug in the compiler code. Please contact Adobe, Inc. to file a bug.
|
| 1090 | EventHandler was not added as a listener. | |
| 1091 | Migration issue: %s
|
This is a code migration warning. In ActionScript 2.0 declaring a method by a special name (such as onMouseDown ) would cause Flash to
call that method when a certain event occurred. In ActionScript 3.0, you must call addEventListener() with a method in order to register it to
receive that event. See addEventListener in this language reference for details.
|
| 1092 | Negative value will become a large positive value when assigned to a uint data type. | |
| 1093 | Negative value used where a uint (non-negative) value is expected.
|
Assigning a negative value to a uint data type results in an extremely large positive value. var x:uint = -1; trace(x); // 4294967295 .
|
| 1096 | Illogical comparison with null. | |
| 1097 | Illogical comparison with null. Variables of type %s cannot be null.
|
Instances of Boolean, int, uint, and Number cannot be null . The comparison operator type converts null to false before
comparing it to a Boolean, or to 0 before comparing it with a Number, int, or uint data type.
|
| 1098 | Illogical comparison with NaN. Any comparison operation involving NaN will evaluate to false because NaN != NaN. | |
| 1099 | Illogical comparison with NaN. This statement always evaluates to false.
|
NaN has the unique mathematical property that any comparison involving it evaluates to false . Use the global isNaN() function to detect a NaN value instead, as in the following example:
trace(NaN == NaN); // false!
trace(NaN != NaN); // false again!
trace(isNaN(NaN)); // true
|
| 1100 | Assignment within conditional. | |
| 1101 | Assignment within conditional. Did you mean == instead of =?
|
The result of an = assignment statement is the value of the right-hand side of the = statement.
You can use an assignment statement as a conditional test, but it is not recommended.
It usually is the result of a typo where a == equality test was intended, as the following example shows:
var x:Boolean = false;
var y:Boolean = true;
// it is hard to determine if the line below intentionally sets x's value to y's or if its a typo
if (x = y) { trace("x is assigned y's value of true, making the conditional test evaluate as true."); }
|
| 1102 | Impossible null assignment. | |
| 1103 | null used where a %s value was expected.
|
Boolean, Number, int, and uint variables cannot be assigned null as a value. The null value is implicitly cast to false when assigned to a Boolean, and to 0 when assigned to an int, uint, or Number.
|
| 1104 | Missing constructor. | |
| 1105 | No constructor function was specified for class %s.
|
Not specifying a constructor function is a coding style preference. Enable this warning if you want to always declare constructors for classes.
This warning is intended to help find cases where a class name is changed but its constructor's name is not.
Conditions such as this are not flagged as a problem without this warning, the former constructor appears to be a normal function.
|
| 1106 | Empty statement. | |
| 1107 | Empty statement found where block of code expected. Did you type ';' accidentally?
|
It is common to accidentally type ; before block of code.
if (x == y);
{
trace("This code will be executed no matter what are the x and y values.")
}
|
| 1110 | Constant not initialized. | |
| 1111 | The constant was not initialized. | |
| 1112 | Possibly invalid Array cast operation. | |
| 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). | |
| 1114 | The super() statement was not called within the constructor. | |
| 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.
|
Adding a call to super() within the constructor is a coding style preference. Enable this warning if you want to always be explicit about when super() is called.
This can help catch cases where you meant to call super() after some local initialization code and forgot to add it.
|
| 2090 | Use Capabilities.version instead. | |
| 2091 | For more information, see InteractiveObject.focusRect. | |
| 2092 | For more information, see Stage.quality. | |
| 2093 | For more information, see Stage.quality. | |
| 2094 | For more information, see Stage.quality. | |
| 2095 | For more information, see Stage.quality. | |
| 2096 | Use the static property flash.media.SoundMixer.bufferTime instead. | |
| 2097 | This functionality is no longer supported. | |
| 2098 | For more information, see LoaderInfo.url. | |
| 2099 | This functionality is no longer supported. | |
| 2102 | Use '\n' for newline. | |
| 2103 | For more information, see textField.maxScroll. | |
| 2104 | The concept of levels does not exist in ActionScript 3.0, which instead provides direct access to the display list. See the flash.display package for details. | |
| 2105 | Use the parent property instead. | |
| 2106 | This property has been removed. The closest equivalent is the Stage, which serves as the root of the ActionScript 3.0 display list. | |
| 2107 | Try declaring caller as an argument of the function instead. | |
| 2108 | This functionality is no longer supported. | |
| 2109 | Use the parent property instead. | |
| 2110 | This functionality is no longer supported. | |
| 2111 | For more information, see Sprite.hitArea. | |
| 2112 | For more information, see the scrollH and scrollV properties of flash.text.TextField class. | |
| 2113 | Use MovieClip objects directly as arguments instead of paths. | |
| 2114 | For more information, see Video.videoHeight. | |
| 2115 | For more information, see Video.videoWidth. | |
| 2116 | For more information, see obsolete __proto__. | |
| 2117 | For more information, see DisplayObject.stage. | |
| 2118 | Use the registerClass() method in the flash.net package instead. | |
| 2617 | Use Math.random() instead. | |
| 2618 | Use String.fromCharCode() instead. | |
| 2619 | Use String.fromCharCode() instead. | |
| 2621 | Use String.charCodeAt() instead. | |
| 2622 | Use String.charCodeAt() instead. | |
| 2623 | Use the String.substr method instead. | |
| 2624 | Use the String.substr method instead. | |
| 2625 | Use the length property of the argument instead. | |
| 2626 | Use the length property of the argument instead. | |
| 2627 | For more information, see changes to ASnative. | |
| 2628 | Set properties directly on the instance using dot (.) notation instead. | |
| 2629 | Access properties directly using dot (.) notation instead. | |
| 2630 | Set properties directly on the instance using dot (.) notation instead. | |
| 2631 | For more information, see TextEvent.LINK and addEventListener(). | |
| 2633 | This method has moved to the flash.utils package. | |
| 2634 | Replaced by new MovieClip class constructor function. | |
| 2636 | Moved to flash.system package. Also, please see flash.external.ExternalInterface class for Javascript/ActionScript communication. | |
| 2638 | For equivalent functionality, see flash.net.URLLoader. The flash.net package also contains package-level functions navigateToURL() and sendToURL(). | |
| 2639 | For more information, see MovieClip.gotoAndPlay(). | |
| 2640 | For more information, see MovieClip.gotoAndStop(). | |
| 2641 | For more information, see MovieClip.play(). | |
| 2642 | For more information, see PrintJob.start(). | |
| 2643 | For more information, see PrintJob. | |
| 2644 | For more information, see PrintJob. | |
| 2645 | For more information, see PrintJob. | |
| 2646 | Use Container.removeChild(childName). For more information, see the DisplayObjectContainer class. | |
| 2647 | Moved to the flash.utils package. Consider using the Timer class instead. | |
| 2648 | For more information, see MovieClip.nextFrame(). | |
| 2649 | For more information, see MovieClip.startDrag(). | |
| 2650 | For more information, see MovieClip.stop(). | |
| 2651 | For more information, see Sound.stopAllSounds(). | |
| 2652 | For more information, see MovieClip.stopDrag(). | |
| 2653 | Use the dot (.) operator or the with statement instead. | |
| 2654 | For more information, see DisplayObject.stage and Stage.quality. | |
| 2656 | Use DisplayObjectContainer.removeChild(childName) instead. For more information, see the DisplayObjectContainer class. | |
| 2657 | Use DisplayObjectContainer.removeChild(childName) instead. For more information, see the DisplayObjectContainer class. | |
| 2658 | This function is no longer a global function, but is still available as a method of the TimerEvent, MouseEvent, and KeyboardEvent classes. | |
| 2659 | For more information, see Video.attachNetStream, Video.attachCamera. | |
| 2660 | Use the URLLoader class to perform loading and pass the result to StyleSheet.parseCSS() | |
| 2663 | In ActionScript 3.0 all classes are registered by default. If you are using AMF, see flash.utils.registerClassAlias() for more information. | |
| 2664 | Use accessor properties (get/set functions) or the flash.utils.Proxy class for similar functionality. | |
| 2665 | Use accessor properties (get/set functions) or the flash.utils.Proxy class for similar functionality. | |
| 2666 | For more information, see MovieClip.loadMovie(). | |
| 2667 | For more information, see MovieClip.loadMovieNum(). | |
| 2668 | For more information, see Loader.load(). | |
| 2669 | For more information, see Loader.load(). | |
| 2678 | For more information, see addEventListener ( eventName, listener, useCapture, priority ). | |
| 2679 | For more information, see removeEventListener ( eventName, listener, useCapture). | |
| 2680 | For more information, see addEventListener ( eventName, listener, useCapture, priority ). | |
| 2681 | For more information, see removeEventListener ( eventName, listener, useCapture). | |
| 2682 | For more information, see addEventListener ( eventName, listener, useCapture, priority ). | |
| 2683 | For more information, see removeEventListener ( eventName, listener, useCapture). | |
| 2684 | For more information, see addEventListener ( eventName, listener, useCapture, priority ). | |
| 2685 | For more information, see removeEventListener ( eventName, listener, useCapture). | |
| 2686 | Use SWF class to create sounds from library | |
| 3187 | The onStatus event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'status', callback_handler). | |
| 3188 | The onID3 event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'id3', callback_handler). | |
| 3189 | The onLoad event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'load', callback_handler). | |
| 3190 | The onSoundComplete event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'soundComplete', callback_handler). | |
| 3191 | The onSetFocus event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'focusIn', callback_handler). | |
| 3192 | The onResize event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'resize', callback_handler). | |
| 3193 | The onChanged event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'change', callback_handler). | |
| 3194 | The onKillFocus event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'focusOut', callback_handler). | |
| 3195 | The onScroller event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'scroll', callback_handler). | |
| 3198 | The onMouseDown event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'mouseDown', callback_handler). | |
| 3199 | The onMouseUp event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'mouseUp', callback_handler). | |
| 3200 | The onMouseMove event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'mouseMove', callback_handler). | |
| 3201 | The onMouseWheel event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'mouseWheel', callback_handler). | |
| 3202 | The onKeyDown event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'keyDown', callback_handler). | |
| 3203 | The onKeyUp event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'keyUp', callback_handler). | |
| 3204 | The onData event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'data', callback_handler). | |
| 3205 | The onHTTPStatus event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'httpStatus', callback_handler). | |
| 3206 | The onDragOut event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'mouseOut', callback_handler). | |
| 3207 | The onDragOver event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'mouseOver', callback_handler). | |
| 3211 | The onPress event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'mouseDown', callback_handler). | |
| 3212 | The onRelease event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'click', callback_handler). | |
| 3213 | The onReleaseOutside event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'mouseUp', callback_handler). | |
| 3214 | The onRollOut event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'mouseOut', callback_handler). | |
| 3215 | The onRollOver event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'mouseOver', callback_handler). | |
| 3217 | The onActivity event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'activity', callback_handler). | |
| 3219 | The onSelect event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'menuSelect', callback_handler). | |
| 3226 | The onEnterFrame is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'enterFrame', callback_handler). | |
| 3240 | The onUnload event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'unload', callback_handler). | |
| 3241 | The onLoadComplete is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'load', callback_handler). | |
| 3242 | The onLoadError event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'error', callback_handler). | |
| 3243 | The onLoadInit event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'init', callback_handler). | |
| 3244 | The onLoadProgress event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'progress', callback_handler). | |
| 3245 | The onLoadStart is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'start', callback_handler). | |
| 3249 | The onClose event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'close', callback_handler). | |
| 3250 | The onConnect event handler is not triggered automatically by Flash player in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'connect', callback_handler). | |
| 3252 | onXML is not triggered automatically by Flash Player in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'xml', callback_handler). | |
| 3253 | Use the property hasChildNodes instead. | |
| 3254 | The XMLEvent class is obsolete, and the xml event is no longer dispatched. Only the data event is dispatched during file loading. | |
| 3255 | The XMLDoc class has been renamed XMLDocument. | |
| 3256 | Use the Accessibility.active property instead. | |
| 3257 | Use ActivityEvent.ACTIVITY constant instead. | |
| 3258 | Use DisplayObjectContainer.parent.getChildIndex instead. See help for the DisplayObjectContainer class, which is extended by MovieClip. | |
| 3259 | Use DisplayObjectContainer.parent.setChildIndex instead. See help for the DisplayObjectContainer class, which is extended by MovieClip. | |
| 3260 | Use DisplayObjectContainer.getChildAt instead. See help for the DisplayObjectContainer class, which is extended by MovieClip. | |
| 3261 | Use DisplayObjectContainer.numChildren instead. DisplayObjectContainer.addChild always adds the new child to index DisplayObjectContainer.numChildren. | |
| 3262 | Use the ByteArray.bytesAvailable property instead. | |
| 3263 | Use the ByteArray.position property instead. | |
| 3264 | Use the ByteArray.position property instead. | |
| 3265 | Use the Camera.getCamera() method instead. | |
| 3266 | Use the Camera.currentFPS property instead. | |
| 3267 | Use the Camera.keyFrameInterval property instead. | |
| 3268 | Use the Camera.loopback property instead. | |
| 3269 | Use the ColorTransform.color property instead. | |
| 3270 | Use the ColorTransform.color property instead. | |
| 3271 | Use the Container.textSnapshot property instead. | |
| 3272 | Use the ContextMenu.clone() method instead. | |
| 3273 | Use the ContextMenu.forwardAndBack property instead. | |
| 3274 | Use the ContextMenuItem.clone() method instead. | |
| 3275 | Use the CustomActions.actionsList property instead. | |
| 3276 | Use the DataEvent.DATA constant instead. | |
| 3277 | Use the DisplayObject.scaleX property instead. | |
| 3278 | Use the DisplayObject.scaleX property instead. | |
| 3279 | Use the DisplayObject.scaleY property instead. | |
| 3280 | Use the DisplayObject.scaleY property instead. | |
| 3281 | Use the DisplayObject.mouseX property instead. | |
| 3282 | Use the DisplayObject.mouseX property instead. | |
| 3283 | Use the DisplayObject.mouseY property instead. | |
| 3284 | Use the DisplayObject.mouseY property instead. | |
| 3285 | This feature is no longer supported. | |
| 3286 | This feature is no longer supported. | |
| 3287 | Use the DisplayObject.name property instead. | |
| 3288 | Use the DisplayObject.parent property instead. | |
| 3289 | Use the DisplayObject.mask property instead. | |
| 3290 | Use the DisplayObject.visible property instead. | |
| 3291 | Use the DisplayObject.x property instead. | |
| 3292 | Use the DisplayObject.y property instead. | |
| 3293 | Use the DisplayObject.rotation property instead. | |
| 3294 | Use the DisplayObject.alpha property instead. | |
| 3295 | Use the DisplayObject.width property instead. | |
| 3296 | Use the DisplayObject.height property instead. | |
| 3297 | Use the ExternalInterface.available property instead. | |
| 3298 | Use the ErrorEvent.ERROR constant instead. | |
| 3299 | Use the Event.isDefaultPrevented property instead. | |
| 3300 | Use the Event.ACTIVATE constant instead. | |
| 3301 | Use the Event.ADDED constant instead. | |
| 3302 | Use the Event.CANCEL constant instead. | |
| 3303 | Use the Event.CHANGE constant instead. | |
| 3304 | Use the Event.CLOSE constant instead. | |
| 3305 | Use the Event.COMPLETE constant instead. | |
| 3306 | Use the Event.CONNECT constant instead. | |
| 3307 | Use the Event.DEACTIVATE constant instead. | |
| 3308 | Use the Event.ENTER_FRAME constant instead. | |
| 3309 | Use the Event.ID3 constant instead. | |
| 3310 | Use the Event.INIT constant instead. | |
| 3311 | Use the Event.MOUSE_LEAVE constant instead. | |
| 3312 | Use the Event.OPEN constant instead. | |
| 3313 | Use the Event.REMOVED constant instead. | |
| 3314 | Use the Event.RENDER constant instead. | |
| 3315 | Use the Event.RESIZE constant instead. | |
| 3316 | Use the Event.SCROLL constant instead. | |
| 3317 | Use the Event.SELECT constant instead. | |
| 3318 | Use the Event.SOUND_COMPLETE constant instead. | |
| 3319 | Use the Event.TAB_CHILDREN_CHANGE constant instead. | |
| 3320 | Use the Event.TAB_ENABLED_CHANGE constant instead. | |
| 3321 | Use the Event.TAB_INDEX_CHANGE constant instead. | |
| 3322 | Use the Event.UNLOAD constant instead. | |
| 3323 | Use the FocusEvent.FOCUS_IN constant instead. | |
| 3324 | Use the FocusEvent.FOCUS_OUT constant instead. | |
| 3325 | Use the FocusEvent.KEY_FOCUS_CHANGE constant instead. | |
| 3326 | Use the FocusEvent.MOUSE_FOCUS_CHANGE constant instead. | |
| 3327 | Use the Graphics.beginBitmapFill() method instead. | |
| 3328 | Use the BitmapFilter.quality property instead. | |
| 3329 | Use KeyboardEvent.charCode instead. | |
| 3330 | Use KeyboardEvent.keyCode instead. | |
| 3331 | For more information, see the KeyboardEvent class. | |
| 3332 | For more information, see KeyboardEvent.ctrlKey, KeyboardEvent.altKey, and KeyboardEvent.shiftKey. | |
| 3333 | Use the PAGE_DOWN constant instead. | |
| 3334 | Use the PAGE_UP constant instead. | |
| 3335 | Use the DELETE constant instead. | |
| 3336 | Use the CAPS_LOCK constant instead. | |
| 3337 | Use one of the NUMPAD_0 -> NUMPAD_9 constants instead. | |
| 3338 | Use the InteractiveObject.focusRect property instead. | |
| 3339 | Use the InteractiveObject.contextMenu property instead. | |
| 3340 | Use the KeyboardEvent.charCode property instead. | |
| 3341 | Use the KeyboardEvent.keyCode property instead. | |
| 3342 | Use the Loader.contentLoaderInfo property instead. | |
| 3343 | This feature is no longer supported. | |
| 3344 | This feature is no longer supported. | |
| 3345 | Use the LoaderInfo.loaderURL property instead. | |
| 3346 | Use the LocalConnection.domain property instead. | |
| 3347 | Use the MenuEvent.contextMenuOwner property instead. | |
| 3348 | Use the Microphone.getMicrophone() method instead. | |
| 3349 | If the MovieClip subclass name is A use var mc= new A(); addChild(mc). For more information, see the DisplayObjectContainer class. | |
| 3350 | Use var mc= new MovieClip(); addChild(mc). For more information, see the DisplayObjectContainer class. | |
| 3351 | Use var tf= new TextField(); addChild(mc). For more information, see the DisplayObjectContainer class. | |
| 3352 | Use Container.removeChild(childName). For more information, see the DisplayObjectContainer class. | |
| 3353 | Use var l = new Loader(); addChild(l); l.load(new URLRequest("your url"));. For more information, see the Loader and DisplayObjectContainer classes. | |
| 3354 | Use DisplayObjectContainer.removeChild(childName) instead. For more information, see the DisplayObjectContainer class. | |
| 3355 | Use DisplayObjectContainer.removeChild(childName) instead. For more information, see the DisplayObjectContainer class. | |
| 3356 | Use DisplayObjectContainer.parent.getChildIndex instead. For more information, see the DisplayObjectContainer class, is extended by MovieClip. | |
| 3357 | Use DisplayObjectContainer.parent.setChildIndex instead. For more information, see the DisplayObjectContainer class, which is extended by MovieClip. | |
| 3358 | Use DisplayObjectContainer.getChildAt instead. For more information, see the DisplayObjectContainer class, which is extended by MovieClip. | |
| 3359 | Use DisplayObjectContainer.numChildren instead. DisplayObjectContainer.addChild always adds the new child to index DisplayObjectContainer.numChildren. | |
| 3360 | For more information, see DisplayObject.addChild. | |
| 3361 | For more information, see LoaderInfo.bytesLoaded and the Loader class. | |
| 3362 | For more information, see LoaderInfo.bytesTotal and the Loader class. | |
| 3363 | For equivalent functionality, see flash.net.URLLoader. The flash.net package also contains package-level functions navigateToURL() and sendToURL(). | |
| 3364 | For more information, see LoaderInfo.url and the Loader class. | |
| 3365 | For more information, see LoaderInfo.url and the Loader class. | |
| 3366 | Use the MovieClip.mask property instead. | |
| 3367 | For more information, see LoaderInfo.swfVersion and the Loader class. | |
| 3368 | Use the MovieClip.currentFrame property instead. | |
| 3369 | Use the MovieClip.framesLoaded property instead. | |
| 3370 | Use the MovieClip.totalFrames property instead. | |
| 3371 | For more information, see displayObjectInstance.root. | |
| 3372 | For more information, see displayObjectInstance.root. | |
| 3373 | Use the static propery flash.media.SoundMixer.bufferTime instead. | |
| 3374 | For more information, see the Graphics class. | |
| 3375 | For more information, see the Graphics class. | |
| 3376 | For more information, see the Graphics class. | |
| 3377 | For more information, see the Graphics class. | |
| 3378 | For more information, see the Graphics class. | |
| 3379 | For more information, see the Graphics class. | |
| 3380 | For more information, see the Graphics class. | |
| 3381 | For more information, see the Graphics class. | |
| 3382 | For more information, see the Graphics class. | |
| 3383 | For more information, see the Graphics class. | |
| 3384 | For more information, see the Graphics class. | |
| 3385 | For more information, see the Graphics class. | |
| 3386 | For more information, see the Graphics class. | |
| 3387 | For more information, see the Graphics class. | |
| 3388 | Use the NetStream.bufferTime property instead. | |
| 3389 | Use the NetStream.currentFPS property instead. | |
| 3390 | Use the NetStream.videoCodec property instead. | |
| 3391 | Use the NetStream.audioCodec property instead. | |
| 3392 | Use the ProductManager.isInstalled property instead. | |
| 3393 | Use the ProductManager.installedVersion property instead. | |
| 3394 | Use the ProductManager.isRunning property instead. | |
| 3395 | Use the Point.add() method instead. | |
| 3396 | Use the Proxy.deleteDescendants property instead. | |
| 3397 | Use the heapDump() method instead. | |
| 3398 | Use the ProgressEvent.bytesLoaded property instead. | |
| 3399 | Use the ProgressEvent.bytesTotal property instead. | |
| 3400 | Use the Rectangle.isEmpty property instead. | |
| 3401 | Use the SoundTransform.pan property instead. | |
| 3402 | Use the Sockect.bytesAvailable property instead. | |
| 3403 | Use the SharedObject.size property instead. | |
| 3404 | Use the SharedObject.fps property instead. | |
| 3405 | This is no longer supported. | |
| 3406 | Use the Sprite.constructChildren() method instead. | |
| 3407 | Use the Sprite.dropTarget property instead. | |
| 3408 | Use the Stage.focus property instead. | |
| 3409 | Use the Stage.focus property instead. | |
| 3411 | Use the Stage.showDefaultContextMenu property instead. | |
| 3412 | Use the StyleSheet.styleNames property instead. | |
| 3413 | Use an instance of URLLoader to load the StyleSheet data, and then pass the loaders data to the StyleSheet.parseCSS method. For more information, see the URLLoader and EventDispatcher classes. | |
| 3414 | Use an instance of URLLoader to load the StyleSheet data, and then pass the loaders data to the StyleSheet.parseCSS method. For more information, see the URLLoader and EventDispatcher classes. | |
| 3415 | Use an instance of URLLoader to load the StyleSheet data, and then pass the loaders data to the StyleSheet.parseCSS method. For more information, see the URLLoader and EventDispatcher classes. | |
| 3416 | Use an instance of URLLoader to load the StyleSheet data, and then pass the loaders data to the StyleSheet.parseCSS method. For more information, see the URLLoader and EventDispatcher classes. | |
| 3417 | Use an instance of URLLoader to load the StyleSheet data, and then pass the loaders data to the StyleSheet.parseCSS method. For more information, see the URLLoader and EventDispatcher classes. | |
| 3418 | Use the IME.enabled property instead. | |
| 3419 | Use the IME.enabled property instead. | |
| 3420 | Use the IME.instance property instead. | |
| 3421 | Use the IME.conversionMode property instead. | |
| 3422 | Use the IME.conversionMode property instead. | |
| 3423 | Use the System.vmVersion property instead. | |
| 3424 | Use the SWFLoaderInfo.swfVersion property instead. | |
| 3425 | Use the SWFLoaderInfo.actionScriptVersion property instead. | |
| 3426 | Use the TextField.defaultTextFormat property instead. | |
| 3427 | Use the TextField.defaultTextFormat property instead. | |
| 3428 | Use DisplayObjectContainer.parent.getChildIndex instead. For more information, see the DisplayObjectContainer class, which MovieClip extends. | |
| 3429 | Use DisplayObjectContainer.parent.setChildIndex instead. For more information, see the DisplayObjectContainer class, which MovieClip extends. | |
| 3430 | Use DisplayObjectContainer.getChildAt instead. For more information, see the DisplayObjectContainer class, which MovieClip extends. | |
| 3431 | Use DisplayObjectContainer.numChildren instead. DisplayObjectContainer.addChild always adds the new child to index DisplayObjectContainer.numChildren. | |
| 3432 | Use the TextField.replaceSelectedText() method instead. | |
| 3433 | Use the TextField.getLineIndexOfChar() method instead. | |
| 3434 | Use the TextField.selectionBeginIndex property instead. | |
| 3435 | Use the TextField.selectionEndIndex property instead. | |
| 3436 | Use the TextField.caretIndex property instead. | |
| 3437 | Use the Font.enumerateFonts() method instead. | |
| 3438 | Use the TextField.maxScrollV property instead. | |
| 3439 | Use the TextField.scrollH property instead. | |
| 3440 | Use the TextField.maxScrollH property instead. | |
| 3441 | Use the TextField.defaultTextFormat property instead. | |
| 3442 | Create a temporary TextField and use TextField.getLineMetrics instead. | |
| 3443 | Use the TextSnapshot.charCount property instead. | |
| 3444 | Use the navigateToURL() method in the flash.net package instead. | |
| 3445 | Use the sendToURL() method in the flash.net package instead. | |
| 3446 | Use the URLLoader.dataFormat property instead. | |
| 3447 | Use the URLStream.bytesAvailable property instead. | |
| 3448 | This property is no longer supported. | |
| 3449 | Use the URLRequest.applicationDomain property instead. | |
| 3450 | To add request headers, set the URLRequest.requestHeaders property to an array of URLRequestHeader objects. | |
| 3451 | Use an instance of URLLoader to load the XML file, then pass the URLLoaders data to the XMLDocuments constructor. For more information, see the URLLoader and EventDispatcher classes. | |
| 3452 | Use the sendToURL() method in the flash.net package instead. | |
| 3453 | Set a URLRequest object postData property and use it with a URLLoader object to load the XML file. Pass the URLLoaders data to the XMLDocuments constructor. For more information, see the URLLoader, URLRequest and EventDispatcher classes. | |
| 3454 | Use an instance of URLLoader to load the XML file, then pass the URLLoaders data to the XMLDocuments constructor. For more information, see the URLLoader and EventDispatcher classes. | |
| 3455 | To add request headers, set the URLRequest.requestHeaders property to an array of URLRequestHeader objects. | |
| 3456 | For more information, see URLLoader.bytesLoaded and the URLLoader class. | |
| 3457 | For more information, see URLLoader.bytesTotal and the URLLoader class. | |
| 3458 | Use an instance of URLLoader to load the XML file, then pass the loaders data to the StyleSheet.parseCSS method. For more information, see the URLLoader and EventDispatcher classes. | |
| 3459 | Use the URLRequest.contentType property instead. | |
| 3460 | Check for the possible exceptions thrown by the XMLDocument constructor or the XMLDocument.parseXML method instead. For more information, see XMLDocument. | |
| 3461 | The Button class has been renamed SimpleButton. | |
| 3462 | The Container class has been renamed DisplayObjectContainer. | |
| 3463 | The Image class has been renamed BitmapData. | |
| 3464 | The ImageFilter class has been renamed BitmapFilter. | |
| 3465 | The ImageSprite class has been renamed Bitmap. | |
| 3466 | The ImageLoaderInfo class has been renamed BitmapLoaderInfo. | |
| 3467 | The ImeEvent class has been renamed IMEEvent. | |
| 3468 | The Key class has been renamed Keyboard. | |
| 3469 | The LineMetrics class has been renamed TextLineMetrics. | |
| 3470 | For more information, see the URLVariables class, the URLRequest.urlVariables and URLRequest.postData properties, and the URLLoader.dataFormat property. | |
| 3471 | The MenuEvent class has been renamed ContextMenuEvent. | |
| 3472 | The SystemCapabilities class has been renamed Capabilities. | |
| 3473 | Use the TextField.getLineMetrics property instead. | |
| 3475 | The Button class has been renamed SimpleButton. | |
| 3476 | The Container class has been renamed DisplayObjectContainer. | |
| 3477 | The Image class has been renamed BitmapData. | |
| 3478 | The ImageFilter class has been renamed BitmapFilter. | |
| 3479 | The ImageSprite class has been renamed Bitmap. | |
| 3480 | The ImageLoaderInfo class has been renamed BitmapLoaderInfo. | |
| 3481 | The ImeEvent class has been renamed IMEEvent. | |
| 3482 | The Key class has been renamed Keyboard. | |
| 3483 | The LineMetrics class has been renamed TextLineMetrics. | |
| 3484 | For more information, see the URLVariables class, the URLRequest.urlVariables and URLRequest.postData properties, and the URLLoader.dataFormat property. | |
| 3485 | The MenuEvent class has been renamed ContextMenuEvent. | |
| 3486 | The SystemCapabilities class has been renamed Capabilities. | |
| 3487 | Use the TextField.getLineMetrics property instead. | |
| 3488 | For more information, see help for the Proxy class, which offers similar functionality. | |
| 3489 | Use the XMLUI.getProperty method instead. | |
| 3490 | Use the XMLUI.setProperty method instead. | |
| 3491 | Use the DisplayObject.accessibilityProperties property instead. | |
| 3492 | Use the DisplayObject.scale9Grid property instead. | |
| 3493 | Use the Graphics.drawOval method instead. | |
| 3494 | Use the NetConnection.connected property instead. | |
| 3495 | Use the Socket.connected property instead. | |
| 3496 | Use the URLStream.connected property instead. | |
| 3497 | Use the SyncEvent.changeList property instead. | |
| 3498 | Use the TextField.scrollV property instead. | |
| 3499 | Use the TextField.bottomScrollV property instead. | |
| 3500 | Use the BitmapDataChannel.RED constant instead. | |
| 3501 | Use the BitmapDataChannel.GREEN constant instead. | |
| 3502 | Use the BitmapDataChannel.BLUE constant instead. | |
| 3503 | Use the BitmapDataChannel.ALPHA constant instead. | |
| 3504 | Use the is operator instead. | |
| 3505 | Use the flash.system.Security.showSettings method instead. | |
| 3506 | Use the System.useCodePage property instead. | |
| 3507 | Use the flash.events.EventDispatcher class instead. | |
| 3508 | Use the static propery flash.media.SoundMixer.bufferTime instead. | |
| 3509 | Create a new instance of the bitmap library symbol class, i.e. new myBitmapName(), instead. | |
| 3510 | For more information, see Loader.load(). | |
| 3511 | The MovieClipLoader class has been replaced by the flash.display.Loader class. | |
| 3512 | The MovieClipLoader class has been replaced by the flash.display.Loader class. | |
| 3513 | For more information, see addEventListener(eventName, listener, useCapture, priority ). | |
| 3514 | For more information, see removeEventListener(eventName, listener, useCapture). | |
| 3515 | Use the flash.system.IMEConversionMode.ALPHANUMERIC_FULL constant instead. | |
| 3516 | Use the flash.system.IMEConversionMode.ALPHANUMERIC_HALF constant instead. | |
| 3517 | Use the flash.system.IMEConversionMode.CHINESE constant instead. | |
| 3518 | Use the flash.system.IMEConversionMode.JAPANESE_HIRAGANA constant instead. | |
| 3519 | Use the flash.system.IMEConversionMode.JAPANESE_KATAKANA_FULL constant instead. | |
| 3520 | Use the flash.system.IMEConversionMode.JAPANESE_KATAKANA_HALF constant instead. | |
| 3521 | Use the flash.system.IMEConversionMode.KOREAN constant instead. | |
| 3522 | Use the flash.system.IMEConversionMode.UNKNOWN constant instead. | |
| 3523 | For more information, see addEventListener ( eventName, listener, useCapture, priority ). | |
| 3524 | For more information, see removeEventListener ( eventName, listener, useCapture). | |
| 3527 | The onCancel event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( cancel, onCancel). | |
| 3528 | There is no direct replacement. The willTrigger() method can be used to tell if any listeners have been registered. | |
| 3529 | The onIMEComposition event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( imeComposition, handlerName). | |
| 3530 | For more information, see LoaderInfo.url and the Loader class. | |
| 3531 | Use the getFullYear() method instead. | |
| 3532 | Use the setFullYear() method instead. | |
| 3533 | Use the getUTCFullYear() method instead. | |
| 3534 | Use the rate property instead. | |
| 3535 | The Selection class has been removed. For more information, see the addEventListener method of the class you want selection information from. | |
| 3536 | The Selection class has been removed. For more information, see the addEventListener method of the class you want selection information from. | |
| 3537 | Use the gain property instead. | |
| 3538 | Color values can be assigned directly using the ColorTransform class constructor or properties. | |
| 3539 | Color values can be assigned directly using the ColorTransform class constructor or properties. | |
| 3540 | See help for the focus related properties of the flash.display.InteractiveObject class. | |
| 3541 | See help for the flash.display.Graphics.beginBitmapFill method. | |
| 3542 | See help for the flash.display.DisplayObject.hitTestObject() method. | |
| 3543 | See help for the addChild() method. | |
| 3544 | Use the load() method instead. | |
| 3545 | Use flash.media.SoundChannel.leftPeak and flash.media.SoundChannel.rightPeak to monitor and control the amplitude of a sound channel. | |
| 3546 | Use the soundTransform property instead. | |
| 3547 | Use the SoundTransform.pan property instead. | |
| 3548 | Use the SoundTransform.pan property instead. | |
| 3549 | Use the bytesLoaded property instead. | |
| 3550 | Use the bytesTotal property instead. | |
| 3551 | Inefficient use of += on a TextField. | |
| 3552 | Appending text to a TextField using += is many times slower than using the TextField.appendText() method.
|
See this language reference for the appendText() method of the TextField class for details on this significant text optimization.
|
| 3553 | Possible missing parentheses. | |
| 3554 | Function value used where type %s was expected. Possibly the parentheses () are missing after this function reference.
|
You can use functions themselves as values in ActionScript. The code in question is using a value of type Function where a type other than Function, Object, or * is expected. Usually,
this indicates a typo where the parentheses () were omitted after the function name.
|
| 3555 | Use of the instanceof operator. | |
| 3556 | The instanceof operator is deprecated, use the is operator instead. | |
| 3557 | The allowDomain() event handler is now a standard method, rather than an event callback. For more information, see the new LocalConnection.allowDomain method. | |
| 3558 | The allowInsecureDomain() event handler is now a standard method, rather than an event callback. For more information, see the new LocalConnection.allowInsecureDomain method. | |
| 3559 | The global call() method is no longer supported. | |
| 3560 | The Color class has been removed. Use the flash.geom.ColorTransform class for equivalent functionality. | |
| 3561 | The Color class has been removed. Use the flash.geom.ColorTransform class for equivalent functionality. | |
| 3562 | ActionScript 3.0 SWF files always use exact domain matching rules. | |
| 3563 | The capabilities class has been renamed Capabilities. | |
| 3564 | The capabilities class has been renamed Capabilities. | |
| 3565 | For more information, see addEventListener(eventName, listener, useCapture, priority ). | |
| 3566 | For more information, see removeEventListener(eventName, listener, useCapture). | |
| 3567 | The onComplete event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ('complete', callback_handler). | |
| 3568 | The onHTTPError event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ('httpError', callback_handler). | |
| 3569 | The onIOError event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ('ioError', callback_handler). | |
| 3570 | The onProgress event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ('progress', callback_handler). | |
| 3571 | The onSecurityError event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ('securityError', callback_handler). | |
| 3572 | The onOpen event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ('open', callback_handler). | |
| 3573 | Possible usage of the ActionScript 2.0 XML class. | |
| 3574 | Migration issue: The ActionScript 2.0 XML class has been renamed XMLDocument.
|
This is a code migration warning. XML is a different class in ActionScript 3.0 than it was in ActionScript 2.0. In ActionScript 3.0, the XMLDocument class is the equivalent of the XML class in ActionScript 2.0.
The ActionScript 3.0 XML class offers improved functionality with an easier and more powerful API. See XML in the ActionScript Language Reference for additional details.
|
| 3575 | Invalid Date cast operation. | |
| 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). | |
| 3581 | Importing a package by the same name as the current class will hide that class identifier in this scope. | |
| 3582 | Importing a package by the same name as the current class will hide that class identifier in this scope. | |
| 3583 | More than one argument has the same name. | |
| 3584 | More than one argument named '%s' specified. References to that argument will always resolve to the last one. | |
| 3585 | Use the Rectangle.containsRect method instead. | |
| 3586 | This functionality has been removed. | |
| 3587 | This functionality has been replaced by the flash.system.Capabilities.version property. | |
| 3588 | This functionality has been replaced by the flash.display.MovieClip.framesLoaded property. | |
| 3589 | The _global property has been removed. For equivalent functionality, use a static member of a class. | |
| 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. | |
| 3592 | Unknown property. | |
| 3593 | %s is not a recognized property of the dynamic class %s.
|
The strict compilation mode does not check for undefined properties on instances of dynamic classes. The types Date, RegExp, and Error are
dynamic for backwards compatibility with ECMAScript. This warning finds usages of undefined properties on instances of those classes.
A common problem is attempting to get or set a non-existent year property on a Date value. The correct property name is fullYear .
|
| 3594 | Unknown method. | |
| 3595 | %s is not a recognized method of the dynamic class %s.
|
The strict compilation mode does not check for undefined methods on instances of dynamic classes. The types Date, RegExp, and Error are
dynamic for backwards compatibility with ECMAScript. This warning finds usages of undefined methods on instances of those classes.
|
| 3596 | Duplicate variable definition. | |
| 3597 | Duplicate variable definition.
|
The compiler has detected a duplicate definition for a variable. This can lead to unexpected results. ActionScript does not support block level
scoping of variables. All variables defined within a function body exist within the same scope, even if they are defined within an
if statement, while statement, for statement, and so on: for example, the following code redeclares the variable x twice:
function test() {
var x:Number = 10;
if (true) {
for (var x=0; x < 5; x++) // warning here, this is the second defintion of x
trace(x);
}
trace(x); // 5, not 10. The last value set by the for loop above is the current value of x
}
|
| 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.
|
If a definition is named the same as a package that is in scope, then any unqualified references to that name will resolve to the package instead of the definition. This can
result in unexpected errors when attempting to reference the variable. Any references to the definition need to be qualified to resolve to the definition and not the package.
|
| 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.
| Delete removes dynamically defined properties from an object. Declared properties of a class can not be deleted, the operation merely fails silently. To free memory associated with this variable, set its value to null instead. |
| 3602 | Use of deprecated definition. | |
| 3603 | '%s' has been deprecated.
| This definition is deprecated and may be removed in the future. |
| 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.
| |