# " != " In if statements ? {AS2}

**URL:** <https://forum.kirupa.com/t/in-if-statements-as2/279146>\
**Category:** flash\
**Created:** [January 10, 2009, 3:17am UTC](https://forum.kirupa.com/t/in-if-statements-as2/279146 "2009-01-10T03:17:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MossyStump](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@MossyStump](https://forum.kirupa.com/u/MossyStump)\
**Post date:** [January 10, 2009, 3:17am UTC](https://forum.kirupa.com/t/in-if-statements-as2/279146/1 "2009-01-10T03:17:59Z")

</div>

Once again, a thread created by me, I am using the code

```
 ActionScript Code:
 [LEFT][COLOR=#0000ff]if[/COLOR][COLOR=#000000]([/COLOR][COLOR=#0000ff]_root[/COLOR].[COLOR=#000080]row2[/COLOR].[COLOR=#000080]block1[/COLOR].[COLOR=#0000ff]_x[/COLOR] != [COLOR=#0000ff]_root[/COLOR].[COLOR=#000080]row1[/COLOR].[COLOR=#000080]block1[/COLOR].[COLOR=#0000ff]_x[/COLOR][COLOR=#000000])[/COLOR]

```

[COLOR=#000000]{[/COLOR]  
[COLOR=#0000ff]\_root[/COLOR].[COLOR=#000080]row2[/COLOR].[COLOR=#000080]block1[/COLOR].[COLOR=#0000ff]swapDepths[/COLOR]COLOR=#000000[/COLOR];  
[COLOR=#0000ff]\_root[/COLOR].[COLOR=#000080]row2[/COLOR].[COLOR=#000080]block1[/COLOR].[COLOR=#0000ff]removeMovieClip[/COLOR]COLOR=#000000[/COLOR];  
[COLOR=#000000]}[/COLOR]  
[/LEFT]

Just changing it from == were I was helped last thread I created, NOW, I am fairly new to ActionScript and I do know a bit of C++ and Java from there respective highschool courses, OK, so anyway, obviously, “!=” Does not mean, “Does not Equal” like in C++, how would I go about solving this problem =?
