ActionScript 3.0 Lesson 7: Creating Number Variables

Thu, Jul 30, 2009

ActionScript

[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

ASCreatingNumberVariablesFLA

Related Articles:

, , , , , , , , ,

5 Responses to “ActionScript 3.0 Lesson 7: Creating Number Variables”


Trackbacks/Pingbacks

  1. Thanks Man…

    Great Post Great Article god bless you….

  2. HCG Diet says:

    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…

  3. Web Site says:

    trackback…

    I was reading this…

  4. 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…

  5. Related Site says:

    nice site…

    click over here now…

Leave a Reply

You must be logged in to post a comment.

My name is Avraham Saltoun, and I live in Jerusalem, Middle East. I am currently on my mid  40's and I am a computer programming technician. Here you will find over one hundred quality video tutorials on Actionscript, and yes, I give online support for aspiring programmers, and pros as well, sharing screen on skype and delivering source code by email, click the button for live flash actionscript support now!

 
oDesk Certified Action Script Programmer
oDesk Certified Adobe Flash CS3 Designer
oDesk Certified Adobe Photoshop 6.0 Designer
Skype Me™!

$7.49 .Com! Score Savings Cartoon Smart Tutorials


839
Unique Visitors
Previous 30 Days
Powered By Google Analytics