# Weird if statement

**URL:** <https://forum.kirupa.com/t/weird-if-statement/220508>\
**Category:** flash\
**Created:** [March 27, 2007, 12:24am UTC](https://forum.kirupa.com/t/weird-if-statement/220508 "2007-03-27T00:24:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Esoltas](https://avatars.discourse-cdn.com/v4/letter/e/5e9695/32.png) [@Esoltas](https://forum.kirupa.com/u/Esoltas)\
**Post date:** [March 27, 2007, 12:24am UTC](https://forum.kirupa.com/t/weird-if-statement/220508/1 "2007-03-27T00:24:38Z")

</div>

This is such a dumb question, but it’s probably so easy to fix I’m just reading right over it. This if opener: if (\_root.stockName == “MSFT” && MONEY =\> MSFTamnt\*increaseAmnt) {  
isn’t working because of “Left side of assignment operator must be variable or property.” I usually can correct this, but I’ve confused myself.

Thanks so much
