Conditional Statements, student working on finals... help =(
Please help me! I have been working on finals since 8 am just today... it is now almost midnight and I am exhausted! Can someone please help me???
What I'm trying to do is simply click on a button and then have a info box i have created show up. I have the visibilty set to false and then it'll go to true... but, maybe it's the time of the day, but I can't get my conditional to work, I can't find any resources to help me out.... basically what i want is this.
function infoBox1(evt:MouseEvent)
{
if (myBtn is clicked)
{
this.infoBox_mc.visible=true;
}
myBtn.addEventListener(MouseEvent.CLICK,infoBox1);
it's possible this could all be wrong... but can anyone help me pls?
