Simple Actionscript 3.0 Calculator: Flash Tutorial!
Flash Tutorials
3rd Feb 2010
25 Comments »
Check this video out at Hi-Res here: www.tutvid.com In this video we will start with a blank flash document and build using flash drawing tools and lots of actionscript a simple functioning calculator which performs Addition, Subtraction, Multiplication, and Division. Have fun with this one and learn lots of Actionscript 3.0!


definitely not the same, 2.0 and 3.0 are very much opposite. =)
awesome just wonder it is the same code for ActionScript 2.0 or ??? thank you
Great tut. I’m no actionscript guru but it feels like a lot of this code could be shortened with for loops, but I appreciate that you didn’t prefer for loops to make it clear for all levels of actionscriptors. Nice job.
Heheh)) nice calculator.
great tutorial. you go over a lot of helpful concepts.
Great video…
Thx heaps tutvid!
Wrote my very first lines of code in any form today thx to u,is it right?
}if(result_txt.text == “Infinity”){
result_txt.text = “O_o”;
}if(result_txt.text == “80085″){
result_txt.text = “( . Y/ . )”;
}
Couldnt find a font to display the forward slash though lol…..
Try adding 80085 & 0,then divide them as well…
too long
Perfect mate…. I had subscribed…..rated 5/5…
Looking for more flash tuts…… from u…
this is cool!!!!! i did it it works perfectly
Why do you need a tutorial, all you need to know is the math:
°F to °C Deduct 32, then multiply by 5, then divide by 9
°C to °F Multiply by 9, then divide by 5, then add 32
This one can help you, just forget the operation buttons (and yours variables) and atrib to the funcion equal the conversion.
Can someone provide me with a tutorial on how to make a temperature converter from Fahrenheit to Celsius? Or a converter from pounds to kilograms.
man this video would take decades to upload in my house
I see. But it is hard to find working cracks.
lol? who said that he have bought the product? –’
Rofl you bought CS3 profensional for what you can do with VB? or C++ witch are free. rofl…
object.visible = false
Nice Tutorial for getting Started with ActionScript 3.0
wow… youtube is such a fat git. I subscribed AND commented on your video!
only thing that I would change about the calulator, is to set the plusSym:Boolean to true at the beginning
It is in the swf – if you upload it on something like swfcabin and than use HTML to upload it – the background is transparant
can you make white invisible?
Why do one have to make the button a movie clip symbol first before making it a button symbol?
It should look like this… if that helps with syntax
var input1:String;
var input2:String;
var Res:Number;
function equalsClick(event:MouseEvent):void{
input1=num1.text;
input2=num2.text;
if(plusSym==true){
Res = parseInt(input1)+ parseInt(input2);
Res:toString();
results_txt.text=String(Res);
}