1791 posts Time is what you desire most, but waste carelessly.
  • Has sold $250,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
+6 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
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Contributed a free file of the month
+9 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 :)

1791 posts Time is what you desire most, but waste carelessly.
  • Has sold $250,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
+6 more
Firsh says

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

3752 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Located in Spain
  • Has sold $125,000+ on Envato Market
  • Helped several times protecting Envato Market against copyright violations
+9 more
pezflash says

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

1791 posts Time is what you desire most, but waste carelessly.
  • Has sold $250,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
+6 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 :/

3752 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Located in Spain
  • Has sold $125,000+ on Envato Market
  • Helped several times protecting Envato Market against copyright violations
+9 more
pezflash says

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

659 posts Fuel Your Web
  • Elite Author: Sold more than $75,000 on Envato Market
  • Won a competition
  • Had an item featured on Envato Market
  • Has been part of the Envato Community for over 7 years
+5 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:
1791 posts Time is what you desire most, but waste carelessly.
  • Has sold $250,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
+6 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..)

3752 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Located in Spain
  • Has sold $125,000+ on Envato Market
  • Helped several times protecting Envato Market against copyright violations
+9 more
pezflash says

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

6152 posts
  • Sells items exclusively on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has been part of the Envato Community for over 6 years
+8 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

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by