1. Home
  2. Computing & Technology
  3. Animation

ActionScripting Basics: Collision Test Using hitTest

By Adrien-Luc Sanders, About.com

3 of 10

Inside your target movie clip’s timeline, insert a stop on the first frame; then copy your first frame to your second frame, change something simple (like the fill color) and then insert another stop on the second frame. These are going to be our changing states that will indicate when collision has occurred.
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: Collision Test Using hitTest

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

All rights reserved.