Archive for the ‘ActionScript’ Category

Beginning ActionScript 3.0 – Looping 1

financial-services-256x256 Ok, still the control flow. After the conditionals, let’s turn to the looping statements, which includes while, do…while, for, for…in and for each…in. But here I just want to show you the usage of while, do…while and for, I want to put for…in and for each…in with the Array class.

(more…)

Beginning ActionScript 3.0 – Conditionals 2

Batman-256x256 Go on with the previous section, after the “if…else if…” statement, we need to know the last conditional statement, Switch.

Switch
(more…)

Beginning ActionScript 3.0 – Conditionals 1

Hardware-Mouse-1-256x256 Go on with the control flow, today we’re going to talk about the conditionals. In ActionScript, the conditionals including if, if…else, if…else if… and switch. Now, let’s introduce them one by one.

(more…)

Beginning ActionScript 3.0 – Operators 5

Buzzy-Bee-128x128 There is a similar type with bitwise logical operators, and we call them logical operators. These two kinds of operators have similar rules, but deal with different operands.

(more…)

Beginning ActionScript 3.0 – Control Flow

After we talking about too much about the operators, let’s go to something new now.

Introduction

(more…)

Beginning ActionScript 3.0 – Operators 4

water-melon-128x128 When we talk about the relational operators, we mention that ActionScript use the character code for comparison.

Introduction

(more…)

Beginning ActionScript 3.0 – Operators 3

Bonsai-Final-256x256 Today, we’re going to talk about the relational operators, equality operators and bitwise logical operators.

Relational operators
(more…)

Beginning ActionScript 3.0 – Operators 2

grape-128x128 Continue previous Beginning ActionScript 3.0 – Operators 1, still the operators, in operators 1, we introduced the primary operators and some arithmetic operators, now, it’s time for the new ones.

(more…)

Beginning ActionScript 3.0 – Operators 1

off-line-128x128 From the last article, you may know that there’re so many operators in ActionScript. In fact, you just need to master only a few of them, for the left, see the manual when you need to use them, just like the Pareto Principle. But, here I would simply introduce you all the operators.

(more…)

Beginning ActionScript 3.0 – Operators overview

fish-256x256 After we know how to store the data, we need to know how to perform operations on the data. That means we need the data operation. In every programming language, there is a corresponding Semiotic system, so does ActionScript. In most case, in order to make it easier for us to learn the Semiotic system, the language designer often takes the arithmetic Semiotic system as a base.

(more…)