• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Deprecated Functions

Deprecated Functions

Deprecated means that these functions exist in Flash 4 and will still work in Flash 5, but only because they're leftovers from Flash 4. In future versions of Flash, the deprecated functions will probably disappear and no longer work. Thus, it's recommended to start coding with nondeprecated functions. Table A-2 lists alternatives to the deprecated functions.

Table A-2. Replacements for Deprecated Functions
DEPRECATED FUNCTION SHOULD BE REPLACED WITH
<> !=
and &&
call function
chr String.fromCharCode
eq ==
ge >=
gt >
ifFrameloaded _framesloaded
int Math.floor
le <=
length String.length
lt <
mbchr String.fromCharCode
mblength String object and methods
mbord String.charCodeAt
mbsubstring String.substr
ne !=
not !
or ||
ord String object and methods
random Math.random
substring String.substring
tellTarget with



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint