Deprecated


The evolution of ActionScript has deprecated many elements of the language. This section lists the deprecated items and suggests alternatives when available. While deprecated elements still work in Flash Player 8, or later, Adobe recommends that you do not continue using deprecated elements in your code. Support of deprecated elements in the future is not guaranteed.

Deprecated Classes
Color
    Deprecated in Flash Player 8. The Color class has been deprecated in favor of the flash.geom.ColorTransform class.


Deprecated Functions
call(frame:Object) : Void
    Deprecated in Flash Player 5. This action was deprecated in favor of the function statement.
chr(number:Number) : String
    Deprecated in Flash Player 5. This function was deprecated in favor of String.fromCharCode().
ifFrameLoaded(scene:String, frame:Object) : Void
    Deprecated in Flash Player 5. This function has been deprecated. Adobe recommends that you use the MovieClip._framesloaded property.
int(value:Number) : Number
    Deprecated in Flash Player 5. This function was deprecated in favor of Math.floor() for positive values and Math.ceil for negative values.
length(expression:String, variable:Object) : Number
    Deprecated in Flash Player 5. This function, along with all the string functions, has been deprecated. Adobe recommends that you use the methods of the String class and the String.length property to perform the same operations.
mbchr(number:Number) : Void
    Deprecated in Flash Player 5. This function was deprecated in favor of the String.fromCharCode() method.
mblength(string:String) : Number
    Deprecated in Flash Player 5. This function was deprecated in favor of the methods and properties of the String class.
mbord(character:String) : Number
    Deprecated in Flash Player 5. This function was deprecated in favor of String.charCodeAt().
mbsubstring(value:String, index:Number, count:Number) : String
    Deprecated in Flash Player 5. This function was deprecated in favor of String.substr().
ord(character:String) : Number
    Deprecated in Flash Player 5. This function was deprecated in favor of the methods and properties of the String class.
random(value:Number) : Number
    Deprecated in Flash Player 5. This function was deprecated in favor of Math.random().
substring(string:String, index:Number, count:Number) : String
    Deprecated in Flash Player 5. This function was deprecated in favor of String.substr().
tellTarget(target:String, ) : Void
    Deprecated in Flash Player 5. Adobe recommends that you use dot (.) notation and the with statement.
toggleHighQuality() : Void
    Deprecated in Flash Player 5. This function was deprecated in favor of _quality.


Deprecated Properties
_highquality
    Deprecated in Flash Player 5. This property was deprecated in favor of _quality.
Button._highquality
    Deprecated in Flash Player 7. This property was deprecated in favor of Button._quality.
MovieClip._highquality
    Deprecated in Flash Player 7. This property was deprecated in favor of MovieClip._quality.
TextField._highquality
    Deprecated in Flash Player 7. This property was deprecated in favor of TextField._quality.
maxscroll
    Deprecated in Flash Player 5. This property was deprecated in favor of TextField.maxscroll.
scroll
    Deprecated in Flash Player 5. This property was deprecated in favor of TextField.scroll.


Deprecated Operators
add (concatenation (strings))
    Deprecated in Flash Player 5. Adobe recommends that you use the add (+) operator when creating content for Flash Player 5 or later. This operator is not supported in Flash Player 8 or later.
eq (equality (strings))
    Deprecated in Flash Player 5. This operator was deprecated in favor of the == (equality) operator.
gt (greater than (strings))
    Deprecated in Flash Player 5. This operator was deprecated in favor of the > (greater than) operator.
ge (greater than or equal to (strings))
    Deprecated in Flash Player 5. This operator was deprecated in favor of the >= (greater than or equal to) operator.
<> (inequality)
    Deprecated in Flash Player 5. This operator has been deprecated. Adobe recommends that you use the != (inequality) operator.
lt (less than (strings))
    Deprecated in Flash Player 5. This operator was deprecated in favor of the < (less than) operator.
le (less than or equal to (strings))
    Deprecated in Flash Player 5. This operator was deprecated in Flash 5 in favor of the <= (less than or equal to) operator.
and (logical AND)
    Deprecated in Flash Player 5. Adobe recommends that you use the logical AND (&&) operator.
not (logical NOT)
    Deprecated in Flash Player 5. This operator was deprecated in favor of the ! (logical NOT) operator.
or (logical OR)
    Deprecated in Flash Player 5. This operator was deprecated in favor of the || (logical OR) operator.
ne (not equal (strings))
    Deprecated in Flash Player 5. This operator was deprecated in favor of the != (inequality) operator.