Simple Actionscript 3.0 Calculator: Flash Tutorial!

Back


Check this video out at Hi-Res here:

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!

Channel: Education
Uploaded: February 7, 2008 at 10:31 pm
Author: tutvid

Length: 00:51:40
Rating: 4.81
Views: 35672

Tags: Adobe Flash CS3 Coding Scripting Actions Action Script Tutorial Training Help input text properties tutvid

Video Comments:
fireguy1919 (January 1, 2009 at 11:41 am)
i thought flash was for making animation, wow this programming stuff is very confusing
iswanda (December 26, 2008 at 11:41 pm)
== -> to compare
= -> to assign a value
bobeli3 (December 24, 2008 at 6:51 am)
Part 1-Nice video. I notice an easier way to make the calculator works using the same symbols as in the video:
first the instance name I used:
left input - l_input
right input - r_input
where the operator appears - sign_txt
where the result appears - result_txt
the buttons dont need name.
bobeli3 (December 24, 2008 at 6:53 am)
Part 2- On the actions layer I put:
r_input.restrict = "0-9"
l_input.restrict = "0-9"

on the operators btns (I take the plus btn as example, for the other btns (except =) just change the operator sign:
on (release){
this.sign_txt.text = "+";
}

on the equals btn write:
bobeli3 (December 26, 2008 at 2:18 pm)
forget it just do as he does
ZayberTooth (December 22, 2008 at 10:06 am)
Where can I download Action script 3.0?
sandfire1on1 (December 23, 2008 at 6:38 am)
lol u need cs3 or cs4
hihaatje (December 26, 2008 at 3:45 am)
why are u laughing out loudly about that?
sandfire1on1 (December 26, 2008 at 10:13 am)
cause as3 isnt 'downloaded'
Vindrith (December 20, 2008 at 2:16 am)
how is it possible to upload video about 1 hour long on Youtube ?