Why is this if statement not running? Flash CS4 - ActionScript 3.0

For some reason the if statement on line 75 is not running. bigButtonFront is definitely false (I have a trace statement elsewhere) and activePage is definitely not "info". Please help!

68 function onButtonOutInfo(ev:MouseEvent):void
69 {
70      if(activePage == "info"){}
71      else
72      {
73            infoButtonSmall_mc.gotoAndPlay(11);
74            
75            if(bigButtonFront = false)
76            {
77                  infoBallBig_mc.gotoAndPlay(2);
78                  bigButtonFront = true
79                  trace(bigButtonFront)
80            }
81      }
82 }
cheezy102Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

grafineryCommented:
use == instead of = on line 75

if(bigButtonFront == false)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cheezy102Author Commented:
Thanks man. What is the difference between = and ==?
grafineryCommented:
"=" is an assignment operator, "==" is a comparison operator
i.e., if(A=false) is not a comparison operation. that is an assignment. you assign "false" to A.
if(A==false) is an comparison operation. (A==false) returns true or false.
cheezy102Author Commented:
Thanks for the explanation!
cheezy102Author Commented:
Great help
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.