1. Home
  2. Computing & Technology
  3. Animation

ActionScripting Basics: What’s the difference between = and ==?

By Adrien-Luc Sanders, About.com

1 of 3

Have you ever....?

Ever typed if (x = y) into your ActionScripts and then wondered why it didn’t work? = and == aren’t actually synonymous; == evaluates equality, while = assigns a value.
Explore Animation
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Animation
  4. Flash Animation Tutorials
  5. ActionScripting Basics: What’s the difference between = and ==?

©2009 About.com, a part of The New York Times Company.

All rights reserved.