Hi Guys,
Im hoping you’re able to help me, first time poster so be gentle 
Im currently making a flash banner that involves the user clicking on animals to view the facts about them, once the user has viewed all three facts I use an if statement to direct them to a new page, this is great but it only works once. If the user goes back to the first page (once completing the banner), the if statement still thinks it the user has clicked all three animals and when the user clicks on one animal it takes it straight back to the “three clicked page”.
So basically in a long winded explanation what Im asking is… Is there a way to reset the if statement ?
Code:
if (elephantClick ==true && giraffeClick ==true && monkeyClick ==true)
{
trace(“clickAndDragFrame”);
gotoAndStop(“clickAndDrag”);
}
else{
gotoAndStop(“main_stage”);
trace(“mainStage”);
//Returning the user to the main page, which is labelled “main_stage”.
}