(Logical And) - MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 1.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

Example
The following example uses ++ as a post-increment operator to make a
times:
i = 0;
while (i++ < 5){
trace("this is execution " + i);
}
The following example uses ++ as a pre-increment operator:
a = "";
i = 0;
while (i < 10) {
a = a add (++i) add ",";
}
trace(a);// output: 1,2,3,4,5,6,7,8,9,10,
This script shows the following result in the Output panel:
1,2,3,4,5,6,7,8,9,10,
The following example uses ++ as a post-increment operator:
a = "";
i = 0;
while (i < 10) {
a = a add (i++) add ",";
}
trace(a);// output: 0,1,2,3,4,5,6,7,8,9,
This script shows the following result in the Output panel:
0,1,2,3,4,5,6,7,8,9,
&& (logical AND)
Availability
Flash Lite 1.0.
Usage
expression1 && expression2
Operands
expression1, expression2
90
Flash Lite Operators
Boolean values or expressions that convert to Boolean values.
loop run five
while

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents