[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




February 11th, 2012 at 9:43 am
I love your blog.. very nice colors & theme. Did you create this website yourself or did you hire someone to do it for you? Plz answer back as I’m looking to design my own blog and would like to know where u got this from. kudos verzugszinsen berechnen