on mouseDown global gNOW if the clickOn=1 then sprite(1).memberNum=2 sprite(2).memberNum=3 sprite(3).memberNum=3 sprite(4).memberNum=3 member("testTb").text="you chose 1 week" gNOW = 1 end if if the clickOn=2 then sprite(1).memberNum=3 sprite(2).memberNum=5 sprite(3).memberNum=3 sprite(4).memberNum=3 member("testTb").text="you chose 2 weeks" gNOW = 2 end if if the clickOn=3 then sprite(1).memberNum=3 sprite(2).memberNum=3 sprite(3).memberNum=5 sprite(4).memberNum=3 member("testTb").text="you chose 3 weeks" gNOW = 3 end if if the clickOn=4 then sprite(1).memberNum=3 sprite(2).memberNum=3 sprite(3).memberNum=3 sprite(4).memberNum=5 member("testTb").text="you chose 4 weeks" gNOW = 4 end if on mouseDown global gNOW if the clickOn=1 then sprite(1).memberNum=2 sprite(2).memberNum=3 sprite(3).memberNum=3 sprite(4).memberNum=3 member("testTb").text="you chose 1 week" gNOW = 1 end if if the clickOn=2 then on exitFrame me go the frame global Cost global gNOW global gNOW2 Cost=[500,670,700,900,1000,1200,1300,1400] if(gNOW=1)and(gNOW2=1)then put Cost[1]into field "total" end if if(gNOW=2)and(gNOW2=1)then put Cost[2] into field "total" end if if (gNOW=3) and (gNOW2=1) then put Cost[3] into field "total" end if if (gNOW=4) and (gNOW2=1) then put Cost[4] into field "total" end if if (gNOW=1) and (gNOW2=2) then put Cost[5] into field "total" end if if (gNOW=2) and (gNOW2=2) then put Cost[6] into field "total" end if if (gNOW=3) and (gNOW2=2) then put Cost[6] into field "total" end if if (gNOW=4) and (gNOW2=2) then put Cost[6] into field "total" end if end on mouseDown global gNOW2 if the clickOn=5 then sprite(5).memberNum=2 sprite(6).memberNum=3 member("testTb2").text="You chose Standard" gNOW2 = 1 end if if the clickOn=6 then sprite(5).memberNum=3 sprite(6).memberNum=2 member("testTb2").text="You chose Intensive" gNOW2 = 2 end if end on startMovie global NOW global NOW2 global Cost Cost=[500,670,700,900,1000,1200,1300,1400] end sprite(1).memberNum=3 sprite(2).memberNum=5 sprite(3).memberNum=3 sprite(4).memberNum=3 member("testTb").text="you chose 2 weeks" gNOW = 2 end if if the clickOn=3 then sprite(1).memberNum=3 sprite(2).memberNum=3 sprite(3).memberNum=5 sprite(4).memberNum=3 member("testTb").text="you chose 3 weeks" gNOW = 3 end if if the clickOn=4 then sprite(1).memberNum=3 sprite(2).memberNum=3 sprite(3).memberNum=3 sprite(4).memberNum=5 member("testTb").text="you chose 4 weeks" gNOW = 4 end if