Share Posted February 15, 2012 Hello and sorry as this is the kind of question where you are asking somebody to do your coding for you... (sheepish look...) I've got a delete all thing working fine - although since I move my mc's once they are dragged onto the stage, I found it easier to just get the numChildren of that mc and remove them that way. But for my "delete just this 1 thing" setup - what I'd really love is to add a little garbage can that the child can drag the items into - that way I can add a fun little sound or something, and kids are pretty familiar with this type of setup for deletion. I see I'll have to use a hitTest or collision detection - but if anybody has done this and has an exact piece of code that works with the TransformManager - I'd be really thankful!! 1 Link to comment Share on other sites More sharing options...
Share Posted February 15, 2012 You could just listen for TransformEvent.FINISH_INTERACTIVE_MOVE events and do a hitTest() or hitTestPoint() there. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now