1829 posts Time is what you desire most, but waste carelessly.
  • Author Level 9
  • Elite Author
  • Exclusive Author
  • Trendsetter
+9 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
  • Affiliate Level 1
  • Author Level 4
  • Collector Level 2
  • Community Superstar
+10 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 :)

1829 posts Time is what you desire most, but waste carelessly.
  • Author Level 9
  • Elite Author
  • Exclusive Author
  • Trendsetter
+9 more
Firsh
says

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

3757 posts
  • Elite Author
  • Spain
  • Author Level 8
  • Featured Author
+11 more
pezflash
says

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

1829 posts Time is what you desire most, but waste carelessly.
  • Author Level 9
  • Elite Author
  • Exclusive Author
  • Trendsetter
+9 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 :/

3757 posts
  • Elite Author
  • Spain
  • Author Level 8
  • Featured Author
+11 more
pezflash
says

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

698 posts Fuel Your Web
  • Trendsetter
  • Weekly Top Seller
  • Elite Author
  • Winner
+6 more
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:
1829 posts Time is what you desire most, but waste carelessly.
  • Author Level 9
  • Elite Author
  • Exclusive Author
  • Trendsetter
+9 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..)

3757 posts
  • Elite Author
  • Spain
  • Author Level 8
  • Featured Author
+11 more
pezflash
says

Firsh, email so i can send you a plain fla example using mcs that works perfectly.

6231 posts
  • Exclusive Author
  • Elite Author
  • Author Level 8
  • 7 Years of Membership
+13 more
VF
says

Try by disabling the button on Release:

xButton.enabled=false;

This actually works and doesn’t needs to move cursor. Btw, I would like to see a title “Silly button problem on AS2 ” :P

by
by
by
by
by
by