1. Home
  2. Computing & Technology
  3. Animation

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

By , About.com Guide

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

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. 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.