Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
Flash ActionScript
Statement 57 codes
Home
Flash ActionScript
Statement
1 A while statement can be used even when the number of times is unknown
2 Adding a break statement to switch statement
3 Adding a default statement
4 An if statement with no else
5 Break is a keyword that allows you to stop processing a loop or conditional
6 Catch Blocks Example
7 Catching Errors Generated by Flash
8 Chaining if statements
9 Check an items datatype using the is operator
10 Continue ceases to execute the current iteration of the loop and skips ahead to the next iteration
11 Control-Flow Changes in trycatchfinally
12 Do while
13 Ending a while Loop with the break Statement
14 Expanding the Scope Chain via the with Statement
15 If Statement with boolean constant
16 If statement with else
17 If Statements
18 Multiple throw statements and multiple catch statements
19 Nested for loops
20 Perform more complex initializations and increments by adding additional expressions separated by commas
21 Performing Actions Conditionally
22 Performing Complex Conditional Testing
23 Place two statements in the for statement
24 Processing Lists with while Loops
25 Rethrowing Exceptions
26 Return Values for typeof Operations
27 Switch statement executes one of several possible code blocks based on the value of a single test expression
28 The finally Block
29 The finally block can be useful for cleaning up You can use try and finally together
30 The for Statement
31 The general form of a switch statement
32 The switch statement is useful when performing the same action for one of several matching possibilities
33 Throw Error in a function
34 Throws an exception in a finally block
35 Use a for loop to check whether a string contains the @ character
36 Use as to check the object type
37 Use break statements to exit the switch statement after executing the actions under the matching case
38 Use continue to avoid dividing by 0
39 Use for each in loop to display all elements in an object
40 Use for each loop to go through the array elements
41 Use For in loop to display all properties in an object
42 Use for loop statement to display all elements in an array
43 Use for loop to loop through the dynamic array
44 Use for statements to loop backward
45 Use the increment operator with while loop
46 Use while loop to calculate 2 to the power of 3
47 Use while loop to sum 100 ramdom numbers
48 Using break and continue in Statement Blocks
49 Using return in catch
50 Using return in finally
51 Using return in try, after throw
52 Using the as Operator to Cast to Date and Array
53 Using the instanceof Operator
54 Using the typeof Operator
55 While Statement
56 Working with Basic trycatch Statements
57 Working with the switch Statement