View Full Version : getting rid of a mc
billowillo
05-22-2008, 01:24 PM
well i want i need to know how to m when the mouse is over a certain object the object unloads, or deletes. im sure this is simple enough but i can find out how to do it, so please help.
farvan
05-22-2008, 01:50 PM
If i remember correctly
onClipEvent(enterFrame) {
if(this.hitTest(_root._xmouse,_root._ymouse)) {
this.swapDepths(100000)
removeMovieClip(this)
}
}
put that into the movieclip you wish to remove
billowillo
05-22-2008, 01:56 PM
sorry i didnt make my self clear, i need to know how to do that in as3 please
farvan
05-22-2008, 02:06 PM
sorry i didnt make my self clear, i need to know how to do that in as3 please
That, I have no clue.
billowillo
05-22-2008, 10:09 PM
me neither, ive looked everywere and cant find anything...
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.