Question
Radio Buttons
am making something similar to a computer builder like dell
has. The user has different options, and each option has an
assigned price. At the end I want it to display the total price for
the items selected. For each screen with hardware I have a code
similar to this
stop();
onRelease = function (){
m1 = Number(total)+0;}
m1.onRelease = function(){
gotoAndPlay (107)}
onRelease = function () {
m2 = Number(total)+150;}
m2.onRelease = function (){
gotoAndPlay (107) }
onRelease = function () {
m3 = Number(total)+210;}
m3.onRelease = function (){
gotoAndPlay (107) }
onRelease = function () {
m4 = Number(total)+400;}
m4.onRelease = function (){
gotoAndPlay (107) }
onRelease = function () {
m5 = Number(total)+450;}
m5.onRelease = function (){
gotoAndPlay (107) }
I am pretty sure I coded it wrong. But as you can see each has an assigned price in which I need it to total at the end. Can someone help me create a total code or help me modify this so I can make a total code
stop();
onRelease = function (){
m1 = Number(total)+0;}
m1.onRelease = function(){
gotoAndPlay (107)}
onRelease = function () {
m2 = Number(total)+150;}
m2.onRelease = function (){
gotoAndPlay (107) }
onRelease = function () {
m3 = Number(total)+210;}
m3.onRelease = function (){
gotoAndPlay (107) }
onRelease = function () {
m4 = Number(total)+400;}
m4.onRelease = function (){
gotoAndPlay (107) }
onRelease = function () {
m5 = Number(total)+450;}
m5.onRelease = function (){
gotoAndPlay (107) }
I am pretty sure I coded it wrong. But as you can see each has an assigned price in which I need it to total at the end. Can someone help me create a total code or help me modify this so I can make a total code