Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Scripting guidance needed
From: Ian Richardson
Date: Fri, 26 Jan 2001 14:06:39 -0000


i Have been working with flash for some 5 months now, but haven't really
progressed too much into actionscripting, i have looked around the flashkit
sit site and some others. Sorry for the long nature of the question.

Now i am faced with a need to learn quick scenario.........

i need to build a complex calculator model via flash

the user inputs seven variable in number format, these are then taken and
calculated against 7 set values?: ie A*1, b*1 etc and so on. as shown below,
i have it working fine in excel, now need to learn how to work it into a
flash document, that i can publish and that will do the mathematics itself..

is it possible that you could point me in the right direction, as regards
tutorials, tips etc....

i need to learn fast, is it really complex...?
unit a contribute 87.5 % to the total price
Unit b contributes 12.5% to the total price



Per unit a
>

to produce unit 2

> 6.2m of item1
> 2.1m of item 2
> 3.9m of item 3
> 9m of item 4
>
>
> Per unit b
>
> 6m of item 5
> 6m of item 6
> 6m of item 7
>
at the end it will then calculate


Therefore, calculation should go as follows


item 1 = a
item 2 = b
item 3 = c
item 4 = d

item 5 = e
item 6 = f
item 7 = g

(((a * 6.2) + (b * 2.1) + (c*3.9) + (d *9)) * .875)+ (((e*6)+(f*6)+(g*6)) *
.125)


Where

a=1
b=2
c=3
d=4
e=5
f=6
g=7





[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]