CHAPTER 3
Deprecated ActionScript
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, Macromedia recommends that you do not continue using
deprecated elements in your code. Support of deprecated elements in the future is not
guaranteed.
Deprecated Function summary
Modifiers
Function Name
call(frame:Object)
chr(number:Number)String
ifFrameLoaded([scene:String],
frame:Object)
int(value:Number)Number
length(expression:String,
variable:Object)Number
Description
Deprecated since Flash Player 5. This action
was deprecated in favor of the function
statement.
Deprecated since Flash Player 5. This
function was deprecated in favor of
String.fromCharCode().
Deprecated since Flash Player 5. This
function has been deprecated. Macromedia
recommends that you use the
MovieClip._framesloaded property.
Deprecated since Flash Player 5. This
function was deprecated in favor of
Math.floor() for positive values and
Math.ceil for negative values.
Deprecated since Flash Player 5. This
function, along with all the string functions,
has been deprecated. Macromedia
recommends that you use the methods of the
String class and the String.length property
to perform the same operations.
3
761