Animation

  1. Home
  2. Computing & Technology
  3. Animation

ActionScripting Basics: Whats 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.

1 of 3

Index: ActionScripting Basics: Whats the difference between = and ==?

  1. Have you ever....?
  2. =
  3. ==

Explore Animation

More from About.com

Animation

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

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

All rights reserved.