[flashvideo file=video/ASCreatingNumberVariables.flv /]We create and assign values to a variable twice, the classic and condensed way.
Here is the code:
//Assignment Operators
var myValue:Number =2;
myValue = myValue +2;
trace (myValue);
// Condensed Code
var myOtherValue:Number = 2;
myOtherValue += 2;
trace (myOtherValue);
DOWNLOAD THE SOURCE FILES






5 Responses to “ActionScript 3.0 Lesson 7: Creating Number Variables”
Trackbacks/Pingbacks
Thanks Man…
Great Post Great Article god bless you….
Great information…
This is certainly fantastic. Experts watch the promise peace of mind so we are impressed. We are interested in this type of clothes. Only appreciate your custom recommendations, and significance the effort while in this. Please keep modifying. They are…
trackback…
I was reading this…
Great information…
This is certainly magnificent. Only one looked at every single group levels so we are bowled over. We are precisely fascinated by this sort of tasks. Scientists appreciate your specific supermarket, and advantages the effort with this. Please keep addi…
nice site…
click over here now…