-
swapDepth issue
Hi !
I`m trying to make a game where I drag and drop items from an inventory to scene. If the item doesn´t hit its target, it goes back to inventory when released. The problem is after I click and drag any item and release it and move to another scene the item I dragged duplicate itself in inventory. So far I have 3 items but the problem occurs always on 1st item I drag.
I.E. I have a circle, a star and a square. If I drag the circle, release it and move 2 scenes to left or right, I can drag it again, but a circle copy remains in inventory. The star and square works ok.
I`m attaching a fla.
Sure someone will help me.
Thanks in advance.
test.fla
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|