Archive for the ‘ActionScript’ Category

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…)

Beginning ActionScript 3.0 – More about variables

Pig-128x128 It seems that we’ve already discussed so much about the variables, but today our topic is still the variables. If you already know what the variables are, then you don’t need to read the following text. If you don’t, maybe the following text will help you get a clear concept about the variables.

(more…)

Beginning ActionScript 3.0 – Default values

pool-leaf-128x128 Now, we can use the var statement to declare a variable, and stores the values which may get changed during the running time, while we use the const statement to declare a constant, stores the values won’t get changed during the whose application’s life circle.

(more…)

Beginning ActionScript 3.0 – Literal and Constant

bruce-256x256 Get confused with the data types? Eh, it seems that we introduced a little more types and too much concepts in a time. But, you don’t need to worry about it, you just need to know that there exist such things now, and you’ll get familiar with them after some practices.

(more…)

Beginning ActionScript 3.0 – Data type

Have you try to declare a variable with the var statement. If you try the following statement,

var msg;

You will get a complier warning in the strict mode, because you haven’t designated the variable’s type. In general, you should designate a type to the variable you declare by appending the variable name with a colon (:), followed by the variable’s type. Just as

(more…)

Switch to our mobile site