|
Disappear OnClick
|
|
06-06-2010, 12:11 AM
Post: #1
|
|||
|
|||
|
Disappear OnClick
Could someone help me out with a code that I can use to make an object disappear when it is clicked? I'm working on a simple shooter game and need certain enemies to disappear when you click them.
|
|||
|
06-20-2010, 07:08 PM
Post: #2
|
|||
|
|||
|
RE: Disappear OnClick
paste this code on the frame.
enemy_mc.onPress = function() { enemy_mc._visible = 0; }; Here 'enemy_mc' is your object. cltutwiler Wrote:Could someone help me out with a code that I can use to make an object disappear when it is clicked? I'm working on a simple shooter game and need certain enemies to disappear when you click them. |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)





