tailieunhanh - Flex 3 with Java- P3

Tham khảo tài liệu 'flex 3 with java- p3', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Chapter 3 The following example shows how to use a custom Error class in your application try throw new BreakFailureError Breaks failure 29 catch error BreakFailureError trace Reserved words and keywords Reserved words are words that you cannot use as identifiers in your code because the words are reserved for use by ActionScript. Reserved words include lexical keywords which are removed from the program namespace by the compiler. The compiler will report an error if you use a lexical keyword as an identifier. The following table lists ActionScript lexical keywords as break case catch class const continue default delete do else extends false finally for function If implements import in instanceof interface internal is native new null package private protected public return super switch this throw to true try typeof use var void while with There is a small set of keywords called syntactic keywords which can be used as identifiers but which have special meaning in certain contexts. The following table lists ActionScript syntactic keywords each get set namespace include dynamic final native override static 87 Introduction to ActionScript There are also several identifiers that are sometimes referred to as future reserved words. These identifiers are not reserved by ActionScript though some of them may be treated as keywords by software that incorporates ActionScript . You might be able to use many of these identifiers in your code but Adobe recommends that you do not use them because they may appear as keywords in a subsequent version of the language. abstract boolean byte cast char debugger double enum export float goto intrinsic long prototype short synchronized throws to transient type virtual volatile Using ActionScript with MXML To build a Flex application you need to use a combination of MXML and ActionScript languages. For example you may use MXML to layout and design your user interfaces and write business

TỪ KHÓA LIÊN QUAN