03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 3<br />

Deprecated ActionScript<br />

The evolution of ActionScript has deprecated many elements of the language. This section<br />

lists the deprecated items <strong>and</strong> suggests alternatives when available. While deprecated elements<br />

still work in Flash Lite 2.0 <strong>and</strong> later, <strong>Adobe</strong> recommends that you do not continue using<br />

deprecated elements in your code. <strong>Support</strong> of deprecated elements in the future is not<br />

guaranteed.<br />

Deprecated Function summary<br />

Modifiers Function Name Description<br />

call(frame:Object) Deprecated since Flash Player 5. This action was<br />

deprecated in favor of the function statement.<br />

chr(number:Number)Strin<br />

g<br />

getProperty(my_mc:Objec<br />

t, property:Object)Object<br />

ifFrameLoaded([scene:Str<br />

ing], frame:Object,<br />

statement(s):Object)<br />

Deprecated since Flash Player 5. This function<br />

was deprecated in favor of String.fromCharCode().<br />

Deprecated since Flash Player 5. This function<br />

was deprecated in favor of the dot syntax, which<br />

was introduced in Flash Player 5.<br />

Deprecated since Flash Player 5. This function<br />

has been deprecated. <strong>Adobe</strong> recommends that<br />

you use the MovieClip._framesloaded property.<br />

int(value:Number)Number Deprecated since Flash Player 5. This function<br />

was deprecated in favor of Math.round().<br />

length(expression:String,<br />

variable:Object)Number<br />

Deprecated since Flash Player 5. This function,<br />

along with all the string functions, has been<br />

deprecated. <strong>Adobe</strong> recommends that you use the<br />

methods of the String class <strong>and</strong> the String.length<br />

property to perform the same operations.<br />

mbchr(number:Number) Deprecated since Flash Player 5. This function<br />

was deprecated in favor of the<br />

String.fromCharCode() method.<br />

723<br />

3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!