Search the Community
Showing results for tags 'drag and drop'.
-
drag and drop Assign text to many rectangles using drag and drop and cloning the text
max123 posted a topic in GSAP
Hi! I don't know how to drag the text on the right and drop it above the rectangles. I have to repeat this operation therefore cloning the textis needed. I guess it is similar to this issue: Many thanks in andvance! -
TransformManager and delate, checkHitAreare, iOS, air
Dcoo posted a topic in TransformManager (Flash)
I am trying to delete on drag and drop or intersect with checkHitAreare it dorset seem to work with TransformManager. in my app i would like the user to be able to drag an item to a trashcan, the items are all objects that are in a TransformManager. is it possible to call same delete function that is used when desktop users hit the delete key? stage.addEventListener(Event.ENTER_FRAME, checkHitAreare); function checkHitAreare(evt:Event) { var currentMC:MovieClip; var removeMCs:Array = []; for(var i=0; i < stage.numChildren; i++){ currentMC = MovieClip(stage.getChildAt(i)); if (currentMC != this.recp_mc && this.recp_mc.hitTestObject(currentMC)) { removeMCs.push(currentMC); } } for(var j:int = 0 ; j < removeMCs.length;j++) { stage.removeChild(removeMCs[j]); } }- 11 replies
-
- transformmanager
- delate
-
(and 4 more)
Tagged with: