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 Class summary
Modifiers
Class Name
Color
Deprecated Function summary
Modifiers
Function Name
call(frame:Object)
chr(number:Number) Deprecated since Flash Player 5. This function was
TextFormat.getTextE
xtent(text:String,
[width:Number])
ifFrameLoaded([sce
ne:String],
frame:Object)
int(value:Number)
Description
Deprecated since Flash Player 8. The Color class
has been deprecated in favor of the
flash.geom.ColorTransform class.
Description
Deprecated since Flash Player 5. This action was
deprecated in favor of the function statement.
deprecated in favor of String.fromCharCode().
Deprecated since Flash Player 8. There is no
replacement.
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.round().
3
1353
Need help?
Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?