i have created a multiple choice question .it hav 3 options in a custom made dropdown menu.whenever click count is 2 in this dropdownmenu should display correct answer in actionscript 2.
var click_count:Number=0;
drop_1_btn.onPress = function()
{
click_count = click_count + 1;
gotoAndStop(1);
an = 1;
trace(click_count);
};
drop_2_btn.onPress = function()
{
click_count = click_count + 1;
gotoAndStop(1);
an = 2;
trace(click_count);
};
drop_3_btn.onPress = function()
{
click_count = click_count + 1;
gotoAndStop(1);
an = 3;
trace(click_count);
};
here i have created a textbox named
click_cntand put itsalphais to 0..