Skip to main content
Participant
November 13, 2008
Question

im new at this

  • November 13, 2008
  • 1 reply
  • 184 views
so i need help and i just started using flash a couple days ago
I've got a character with movement and i want him to disapear when he hits a certain item
would i use a hit test and if so is there more code that i will need to get the character to disapear or what?
i appreciate the help
This topic has been closed for replies.

1 reply

Ned Murphy
Legend
November 13, 2008
Yes, you would use a hitTest(). To make it disappear you set the character's _visible property to zero when the collision is detected.