Sadly this project is still in AS2 and I’m struggling with a bug. I have a shop with cart items, every item has an X button. If I click on an x to remove the item, it’s gone and the rest of the items go up one row, so the X of the next item will be under the cursor. But I can’t click again, only if I moved the mouse a little bit. The button doesn’t do anything with its onRelease or onPress.. I don’t understand what’s causing this. It’s not major but is annyoing me.
- Author had a Free File of the Month
- Microlancer Beta Tester
- Beta Tester
- Contributed a Tutorial to a Tuts+ Site
- Won a Competition
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Item was Featured
- Author was Featured
- Referred between 1 and 9 users
When the items motion is completed, try making the button slightly move by a few px, and then move it back in place 
Not sure if that would fix the issue, but I’d give it a whirl if I was you 
Did you check to see if the buttons are being disabled after the animation takes place?
There is no animation just y change. I might add animation not a bad idea.
Oh.. well then, GOSH !! 
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Sold between 100 000 and 250 000 dollars
- Exclusive Author
- Author was Featured
- Item was Featured
- Beta Tester
- Has been a member for 3-4 years
- Spain
Hi Firsh, it should not be happen if you use MCs and not buttons.
pezflash said
Hi Firsh, it should not be happen if you use MCs and not buttons.
Okay going to try it, seem possible
Can’t believe AS2 after AS3
I decided some time ago that I’ll never do anything from scratch in AS2 anymore. But there are still some legacy projects with clients where AS2 is given :/
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Sold between 100 000 and 250 000 dollars
- Exclusive Author
- Author was Featured
- Item was Featured
- Beta Tester
- Has been a member for 3-4 years
- Spain
^Cm’on, as2 is not so difficult, give it a try! 
pezflash said
Hi Firsh, it should not be happen if you use MCs and not buttons.
Yeah. I never use buttons because of these kind of things. If this doesn’t work try making some “trace” when you rollover and out of each button to see what’s happening

Changed button to MC, no joy. If I move the cursor 1pixel it’s working as usual. If I keep pressing it in the same place but above a new button only outputs a rollover trace (when pressing and releasing it..)
