First time here? First time here? Newsletter Signup Newsletter
651326 Members and growing! | Flash Jobs
Search tutorials
Author: Ash Sammy | Website: http://www.signalstrong.com

Here's a calculator designed especially for summing out the price of a car. It adds the bank interest rate and the insurance fees to the total price, and devides it by the number of years required for monthly installments, then gives you the total price you'll be paying, and how much you'll be paying each month.

Code for Calculate Button: (only code used)

on (press, keyPress "") {
	Insurance = Number(Price)/100*Ins*1;
	Total = Number(Insurance)+Number(Price);
	Finance = Number(Total)/100*Number(Int)*4;
	TotalPrice = Number(Finance)+Number(Total);
	Monthly = Number(TotalPrice)/Number(Years);
	TotalPriceDevide = Number(TotalPrice)/Number(Devide);
	MonthlyDevide = Number(TotalPriceDevide)/Number(Years);
	TotalPriceMulti = Number(TotalPrice)*Number(Multi);
	MonthlyMulti = Number(TotalPriceMulti)/Number(Years);
}

If you're creating a new one, remember to give the text boxes variable names.

Note: ¤ = Currancy Sign (ALT+0164). There's no currancy calculations involved in summing.

_ Enjoy.
Ash Sammy
_SignalStrong™
_signal@signalstrong.com
_http://www.signalstrong.com

» Level Basic

Added: 2004-03-17
Rating: 6 Votes: 7
(10 being the highest)
» Author
Founder of design studio SignalStrong™.
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!

Comments

  • There are no comments yet. Be the first to comment!

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: S.Saipriya
» Title: Flash Fire Effect
» Description: This tutorial explains about how to create Fire Effect in Flash of Actionscript 2.0.I hope this tutorial helps you!
Featured Sound Loops
Image for equalize

Audio Player

» Author: Aidan Crouzet-Pascal
» Title: Falling Star
» Description: This loop is a cool sounding, E minor loop.
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: Brandan Paulin
» Description: Epic sounding loop with Brass, Percussion, Strings and Winds. This is actually part of a Loop Pack called the Coming where you can download the rest of the loops that go with it FREE from my website.