View comments | RSS feed

Deprecated Function summary

Modifiers

Function Name

Description

 

call(frame:Object)

Deprecated since Flash Player 5. This action was deprecated in favor of the function statement.

 

chr(number:Number)

Deprecated since Flash Player 5. This function was deprecated in favor of String.fromCharCode().

 

TextFormat.getTextExtent(text:String, [width:Number])

Deprecated since Flash Player 8. There is no replacement.

 

ifFrameLoaded([scene:String], frame:Object)

Deprecated since Flash Player 5. This function has been deprecated. Macromedia recommends that you use the MovieClip._framesloaded property.

 

int(value:Number)

Deprecated since Flash Player 5. This function was deprecated in favor of Math.round().

 

length(expression:String, variable:Object)

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.

 

mbchr(number:Number)

Deprecated since Flash Player 5. This function was deprecated in favor of the String.fromCharCode() method.

 

mblength(string:String)

Deprecated since Flash Player 5. This function was deprecated in favor of the methods and properties of the String class.

 

mbord(character:String)

Deprecated since Flash Player 5. This function was deprecated in favor of String.charCodeAt().

 

mbsubstring(value:String, index:Number, count:Number)

Deprecated since Flash Player 5. This function was deprecated in favor of String.substr().

 

ord(character:String)

Deprecated since Flash Player 5. This function was deprecated in favor of the methods and properties of the String class.

 

random(value:Number)

Deprecated since Flash Player 5. This function was deprecated in favor of Math.random().

 

substring(string:String, index:Number, count:Number)

Deprecated since Flash Player 5. This function was deprecated in favor of String.substr().

 

tellTarget(target:String, statement(s))

Deprecated since Flash Player 5. Macromedia recommends that you use dot (.) notation and the with statement.

 

toggleHighQuality()

Deprecated since Flash Player 5. This function was deprecated in favor of _quality.


Version 8

Comments


yuriiz said on Sep 20, 2005 at 7:34 AM :
Why no replacement for TextFormat.getTextExtent ?
It was very handy. =(
Thais Derich said on Sep 20, 2005 at 4:45 PM :
Yuriiz-Thank you for pointing this out. This is a mistake in the documentation. TextFormat.getTextExtent is NOT deprecated. I have updated the documentation source.
Francis Cheng said on Oct 3, 2005 at 9:35 PM :
The description for the int() function above is incorrect. The replacement for the int() function is not Math.round(), but rather Math.floor() if the value parameter is positive and Math.ceil() if the value parameter is negative.
No screen name said on Feb 14, 2006 at 2:19 AM :
Please update the documentation with the above two comments - you have to go over the comments to realize there are two mistakes there...

Thanks

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/8/main/00002922.html