1685 posts Time is what you desire most, but waste carelessly.
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • Bought between 50 and 99 items
  • Referred between 100 and 199 users
  • Grew a moustache for the Envato Movember competition
  • Exclusive Author
  • Has been a member for 4-5 years
  • Envato Studio (Microlancer) Beta Tester
  • Europe
+1 more
Firsh says

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.

1612 posts
  • Author had a Free File of the Month
  • Envato Studio (Microlancer) Beta Tester
  • Beta Tester
  • Contributed a Tutorial to a Tuts+ Site
  • Won a Competition
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Referred between 1 and 9 users
+5 more
DaniMun says

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 :)

4247 posts
  • Attended a Community Meetup
  • Bought between 10 and 49 items
  • Contributed a Blog Post
  • Exclusive Author
  • Has been a member for 5-6 years
  • Sold between 10 000 and 50 000 dollars
  • United States
Aw_Shucks says

Did you check to see if the buttons are being disabled after the animation takes place?

1685 posts Time is what you desire most, but waste carelessly.
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • Bought between 50 and 99 items
  • Referred between 100 and 199 users
  • Grew a moustache for the Envato Movember competition
  • Exclusive Author
  • Has been a member for 4-5 years
  • Envato Studio (Microlancer) Beta Tester
  • Europe
+1 more
Firsh says

There is no animation just y change. I might add animation not a bad idea.

4247 posts
  • Attended a Community Meetup
  • Bought between 10 and 49 items
  • Contributed a Blog Post
  • Exclusive Author
  • Has been a member for 5-6 years
  • Sold between 10 000 and 50 000 dollars
  • United States
Aw_Shucks says

Oh.. well then, GOSH !! :P

3747 posts
  • Won a Competition
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Exclusive Author
  • Spain
  • Referred between 200 and 499 users
+5 more
pezflash says

Hi Firsh, it should not be happen if you use MCs and not buttons.

1685 posts Time is what you desire most, but waste carelessly.
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • Bought between 50 and 99 items
  • Referred between 100 and 199 users
  • Grew a moustache for the Envato Movember competition
  • Exclusive Author
  • Has been a member for 4-5 years
  • Envato Studio (Microlancer) Beta Tester
  • Europe
+1 more
Firsh says

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 :/

3747 posts
  • Won a Competition
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Exclusive Author
  • Spain
  • Referred between 200 and 499 users
+5 more
pezflash says

^Cm’on, as2 is not so difficult, give it a try! :D

553 posts Fuel Your Web
  • Elite Author
  • Won a Competition
  • Sold between 250 000 and 1 000 000 dollars
  • Exclusive Author
  • Has been a member for 7-8 years
  • Bought between 50 and 99 items
  • Referred between 200 and 499 users
  • Europe
Pirenko says

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 :nerdy:
1685 posts Time is what you desire most, but waste carelessly.
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • Bought between 50 and 99 items
  • Referred between 100 and 199 users
  • Grew a moustache for the Envato Movember competition
  • Exclusive Author
  • Has been a member for 4-5 years
  • Envato Studio (Microlancer) Beta Tester
  • Europe
+1 more
Firsh says

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..)

by
by
by
by
by
by