Tuesday, November 25, 2008

= button

on(release) {
// = button
NumberTwo = _root.calculator.outputBox

// You will need to add numbers
/// You can use the parseInt()
var Sum:Number = parseInt(NumberTwo) + parseInt(FirstNumber);
_root.calculator.outputBox = FirstNumber + newline + "+"
+ NumberTwo + "=" + Sum ;
}

No comments: